mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Flex User: do not use deprecated method
This commit is contained in:
parent
5640baa175
commit
3f9ed2f344
|
|
@ -881,7 +881,7 @@ class UserObject extends FlexObject implements UserInterface, MediaManipulationI
|
|||
'type' => $this->getFlexType(),
|
||||
'key' => $this->getKey(),
|
||||
'elements' => $this->jsonSerialize(),
|
||||
'storage' => $this->getStorage()
|
||||
'storage' => $this->getMetaData()
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -551,6 +551,10 @@ class FlexDirectory implements FlexAuthorizeInterface
|
|||
$index = $this->loadIndex('storage_key');
|
||||
|
||||
// Make sure cached objects are up to date: compare against index checksum/timestamp.
|
||||
/**
|
||||
* @var string $key
|
||||
* @var mixed $value
|
||||
*/
|
||||
foreach ($fetched as $key => $value) {
|
||||
if ($value instanceof FlexObjectInterface) {
|
||||
$objectMeta = $value->getMetaData();
|
||||
|
|
|
|||
|
|
@ -35,3 +35,4 @@ parameters:
|
|||
|
||||
- '#Call to deprecated method stopPropagation\(\) of class Symfony\\Component\\EventDispatcher\\Event#'
|
||||
- '#Call to an undefined method Grav\\Plugin\\ApartmentData\\Application\\Application::#'
|
||||
- '#Parameter \#1 \$lineNumberStyle of method ScssPhp\\ScssPhp\\Compiler::setLineNumberStyle\(\) expects string, int given#'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user