mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
PHP 8 fixes
This commit is contained in:
parent
07ee5b42f7
commit
76670e47a1
|
|
@ -50,7 +50,7 @@
|
|||
"composer/ca-bundle": "^1.0",
|
||||
"dragonmantank/cron-expression": "^1.2",
|
||||
"phive/twig-extensions-deferred": "^1.0",
|
||||
"willdurand/negotiation": "2.x-dev"
|
||||
"willdurand/negotiation": "^3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"codeception/codeception": "^2.4",
|
||||
|
|
|
|||
460
composer.lock
generated
460
composer.lock
generated
File diff suppressed because it is too large
Load Diff
|
|
@ -63,9 +63,10 @@ trait ObjectCollectionTrait
|
|||
/**
|
||||
* @param string $property Object property to be fetched.
|
||||
* @param mixed $default Default value if not set.
|
||||
* @param bool $doCreate Not being used.
|
||||
* @return mixed[] Key/Value pairs of the properties.
|
||||
*/
|
||||
public function doGetProperty($property, $default = null)
|
||||
public function &doGetProperty($property, $default = null, $doCreate = false)
|
||||
{
|
||||
$list = [];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user