PSR 2 compliance
This commit is contained in:
parent
3bf4a1460e
commit
9032faa4e8
|
@ -97,7 +97,7 @@ class PostAdminController extends AdminController
|
|||
/**
|
||||
* @Route("/show/{entity}", name="admin_blog_post_show")
|
||||
*/
|
||||
public function show(Entity $entity, PostRepositoryQuery $postQuery): Response
|
||||
public function show(Entity $entity): Response
|
||||
{
|
||||
return $this->render('blog/post_admin/show.html.twig', [
|
||||
'entity' => $entity,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace App\Entity\Blog;
|
||||
|
||||
use App\Doctrine\Timestampable;
|
||||
use App\Entity\EntityInterface;
|
||||
use App\Repository\Blog\CategoryRepository;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
|
@ -14,6 +15,8 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
*/
|
||||
class Category implements EntityInterface
|
||||
{
|
||||
use Timestampable;
|
||||
|
||||
/**
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue
|
||||
|
|
Loading…
Reference in a new issue