[BC] Upgraded dependencies, dropped support for anything below PHP 8.0. (#849)
* GitHub actions + style fixes + updated packages * Fixed workflows dir * Support for PHP 8.1 (#1) * Update README.md * Revert some changes from upstream
This commit is contained in:
parent
72c946dc7d
commit
111c153428
335 changed files with 4394 additions and 28116 deletions
|
|
@ -23,7 +23,8 @@ abstract class AbstractData implements \Countable
|
|||
/**
|
||||
* Returns true if data has property.
|
||||
*
|
||||
* @param string $property
|
||||
* @param string $property
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function has($property)
|
||||
|
|
@ -34,8 +35,8 @@ abstract class AbstractData implements \Countable
|
|||
/**
|
||||
* Returns the property value given its name.
|
||||
*
|
||||
* @param string $property
|
||||
* @param mixed $default
|
||||
* @param string $property
|
||||
* @param mixed $default
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
|
|
@ -86,8 +87,7 @@ abstract class AbstractData implements \Countable
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function count()
|
||||
public function count(): int
|
||||
{
|
||||
return count($this->properties);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue