Skip to content

Commit

Permalink
Revert "Use DeepClone 1.9" (#4231)
Browse files Browse the repository at this point in the history
  • Loading branch information
fashxp committed Apr 12, 2019
1 parent 9a7e09d commit d2acc6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"linfo/linfo": "^4.0.0",
"mjaschen/phpgeo": "^2.0",
"mpratt/embera": "^1.9.3",
"myclabs/deep-copy": "^1.9",
"myclabs/deep-copy": "^1.3",
"myclabs/php-enum": "^1.5",
"neitanod/forceutf8": "^2.0.2",
"nesbot/carbon": "^1.34.0 || ^2.11.0",
Expand Down
3 changes: 1 addition & 2 deletions models/Element/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
use Pimcore\Model\Dependency;
use Pimcore\Model\Document;
use Pimcore\Tool;
use ReflectionProperty;
use Symfony\Component\EventDispatcher\GenericEvent;

/**
Expand Down Expand Up @@ -1158,7 +1157,7 @@ public function __construct($element)
/**
* {@inheritdoc}
*/
public function matches(object $object, ReflectionProperty $property): bool
public function matches($object, $property)
{
try {
$reflectionProperty = new \ReflectionProperty($object, $property);
Expand Down

0 comments on commit d2acc6e

Please sign in to comment.