WIP: feature_paste #1

Draft
Miroslavsckaya wants to merge 24 commits from feature_paste into master
Showing only changes of commit 48172fb9c1 - Show all commits

View file

@ -14,7 +14,7 @@ class PasteRepository extends ServiceEntityRepository
parent::__construct($registry, Paste::class);
}
public function save(Paste $paste, bool $flush=false): void
public function save(Paste $paste, bool $flush = false): void
skobkin marked this conversation as resolved Outdated

Do not forget to use code formatting. It'd surrounded = with spaces for you.

Do not forget to use code formatting. It'd surrounded `=` with spaces for you.
{
$entityManager = $this->getEntityManager();
$entityManager->persist($paste);