<?php
class LibraryArticle
{
public function getSlug(string $title) : void
{
}
}
class MyArticle extends Article
{
public function getSlug($title) : void
{
}
}
Warning: Declaration of
MyArticle::getSlug($title): void
should be compatible with
LibraryArticle::getSlug(string $title): void
<?php
class LibraryArticle
{
public function getSlug(string $title) : void
{
}
}
class MyArticle extends Article
{
public function getSlug($title) : void
{
}
}