@@ -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; |
@@ -20,6 +20,10 @@ discard block |
||
20 | 20 | /** @var OutputInterface */ |
21 | 21 | protected $output; |
22 | 22 | |
23 | + /** |
|
24 | + * @param OutputInterface $output |
|
25 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
26 | + */ |
|
23 | 27 | public function __construct($configHelper, $queryHelper, $output, $em) |
24 | 28 | { |
25 | 29 | $this->configHelper = $configHelper; |
@@ -68,6 +72,7 @@ discard block |
||
68 | 72 | /** |
69 | 73 | * Executes the query |
70 | 74 | * |
75 | + * @param string $metrics |
|
71 | 76 | * @return array the resultset |
72 | 77 | */ |
73 | 78 | protected function executeQuery(AnalyticsOverview $overview, $metrics) |
@@ -29,6 +29,7 @@ |
||
29 | 29 | * Takes the configuration of the RemoveVideoHandler |
30 | 30 | * |
31 | 31 | * @param array $configuration |
32 | + * @param integer $priority |
|
32 | 33 | */ |
33 | 34 | public function __construct($priority, $configuration = []) |
34 | 35 | { |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | /** |
121 | 121 | * @param int $folderId |
122 | 122 | * |
123 | - * @return object |
|
123 | + * @return Folder |
|
124 | 124 | * |
125 | 125 | * @throws EntityNotFoundException |
126 | 126 | */ |
@@ -158,6 +158,7 @@ discard block |
||
158 | 158 | |
159 | 159 | /** |
160 | 160 | * {@inheritdoc} |
161 | + * @param Folder $node |
|
161 | 162 | */ |
162 | 163 | public function getPathQueryBuilder($node) |
163 | 164 | { |
@@ -326,6 +327,9 @@ discard block |
||
326 | 327 | return $qb; |
327 | 328 | } |
328 | 329 | |
330 | + /** |
|
331 | + * @param Folder $parent |
|
332 | + */ |
|
329 | 333 | private function persistInOrderedTree(Folder $folder, $parent) |
330 | 334 | { |
331 | 335 | // Find where to insert the new item |