Skip to content

Commit

Permalink
TASK: Correct DoctrineProxy import in AssetController
Browse files Browse the repository at this point in the history
The old import was deprecated with `doctrine/persistence:1.3` and one should use Doctrine\Persistence\Proxy instead:
https://github.com/greg0ire/persistence/blob/da3b167cde5c029d7941941c635879524d6e1484/lib/Doctrine/Common/Persistence/Proxy.php#L26
  • Loading branch information
mhsdesign committed Jan 24, 2024
1 parent 8735510 commit 232f906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Neos.Media.Browser/Classes/Controller/AssetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* source code.
*/

use Doctrine\Common\Persistence\Proxy as DoctrineProxy;
use Doctrine\Persistence\Proxy as DoctrineProxy;
use Doctrine\ORM\EntityNotFoundException;
use enshrined\svgSanitize\Sanitizer;
use Neos\Error\Messages\Error;
Expand Down

0 comments on commit 232f906

Please sign in to comment.