@@ -8,6 +8,7 @@ |
||
| 8 | 8 | * Add a SearchProvider to the chain |
| 9 | 9 | * |
| 10 | 10 | * @param string $alias |
| 11 | + * @return void |
|
| 11 | 12 | */ |
| 12 | 13 | public function addProvider(SearchProviderInterface $provider, $alias); |
| 13 | 14 | |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @return \PHPUnit\Framework\MockObject\MockObject|VersionChecker |
|
| 45 | + * @return string |
|
| 46 | 46 | */ |
| 47 | 47 | public function setUpVersionCheckerMock(?array $methods) |
| 48 | 48 | { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * You can override this method to return the correct entity manager when using multiple databases ... |
| 35 | 35 | * |
| 36 | - * @return \Doctrine\Common\Persistence\ObjectManager|object |
|
| 36 | + * @return \Doctrine\Persistence\ObjectManager |
|
| 37 | 37 | */ |
| 38 | 38 | protected function getEntityManager() |
| 39 | 39 | { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | /** |
| 44 | 44 | * Shows the list of entities |
| 45 | 45 | * |
| 46 | - * @param Request|null $request |
|
| 46 | + * @param Request $request |
|
| 47 | 47 | * |
| 48 | 48 | * @return Response |
| 49 | 49 | */ |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | * |
| 92 | 92 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
| 93 | 93 | * @param string $type The type to add |
| 94 | - * @param Request|null $request |
|
| 94 | + * @param Request $request |
|
| 95 | 95 | * |
| 96 | 96 | * @throws AccessDeniedHttpException |
| 97 | 97 | * |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | * |
| 187 | 187 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
| 188 | 188 | * @param string $entityId The id of the entity that will be edited |
| 189 | - * @param Request|null $request |
|
| 189 | + * @param Request $request |
|
| 190 | 190 | * |
| 191 | 191 | * @throws NotFoundHttpException |
| 192 | 192 | * @throws AccessDeniedHttpException |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | * |
| 341 | 341 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
| 342 | 342 | * @param int $entityId The id to delete |
| 343 | - * @param Request|null $request |
|
| 343 | + * @param Request $request |
|
| 344 | 344 | * |
| 345 | 345 | * @throws NotFoundHttpException |
| 346 | 346 | * @throws AccessDeniedHttpException |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Symfony\Component\Form\FormEvent; |
| 10 | 10 | use Symfony\Component\Form\FormEvents; |
| 11 | 11 | use Symfony\Component\Validator\Constraints\Email; |
| 12 | -use Symfony\Component\Validator\Constraints\Url; |
|
| 13 | 12 | |
| 14 | 13 | class URLChooserLinkTypeSubscriber implements EventSubscriberInterface |
| 15 | 14 | { |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | protected $em; |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * @param object $em entity manager |
|
| 23 | + * @param EntityManager $em entity manager |
|
| 24 | 24 | */ |
| 25 | 25 | public function __construct(EntityManager $em) |
| 26 | 26 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @param Event $event event |
| 34 | 34 | * |
| 35 | - * @return Repository |
|
| 35 | + * @return \Doctrine\Persistence\ObjectRepository|null |
|
| 36 | 36 | */ |
| 37 | 37 | public function getRepositoryForEvent($event) |
| 38 | 38 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @param string $name name |
| 68 | 68 | * |
| 69 | - * @return Repository |
|
| 69 | + * @return \Doctrine\Persistence\ObjectRepository |
|
| 70 | 70 | */ |
| 71 | 71 | protected function getRepository($name) |
| 72 | 72 | { |
@@ -37,6 +37,10 @@ |
||
| 37 | 37 | } |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param \Symfony\Component\Console\Command\Command $command |
|
| 42 | + * @param \Throwable $error |
|
| 43 | + */ |
|
| 40 | 44 | private function logCommandError($command, $error) |
| 41 | 45 | { |
| 42 | 46 | $message = sprintf( |
@@ -27,7 +27,8 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Setter to check if we can display all form fields |
| 29 | 29 | * |
| 30 | - * @return bool |
|
| 30 | + * @param boolean $canEditAllFields |
|
| 31 | + * @return boolean|null |
|
| 31 | 32 | */ |
| 32 | 33 | public function setCanEditAllFields($canEditAllFields) |
| 33 | 34 | { |
@@ -48,6 +48,7 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * Set the summary of this article |
| 51 | + * @param string $summary |
|
| 51 | 52 | */ |
| 52 | 53 | public function setSummary($summary) |
| 53 | 54 | { |
@@ -86,7 +87,7 @@ discard block |
||
| 86 | 87 | } |
| 87 | 88 | |
| 88 | 89 | /** |
| 89 | - * @return array |
|
| 90 | + * @return AbstractArticlePagePagePartAdminConfigurator[] |
|
| 90 | 91 | */ |
| 91 | 92 | public function getPagePartAdminConfigurations() |
| 92 | 93 | { |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return $this->name; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $link |
|
| 49 | + */ |
|
| 47 | 50 | public function setLink($link) |
| 48 | 51 | { |
| 49 | 52 | $this->link = $link; |