Completed
Push — dependabot/composer/doctrine/d... ( b92d51 )
by
unknown
15:57
created
src/SWP/Bundle/CoreBundle/Consumer/AnalyticsEventConsumer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@
 block discarded – undo
177 177
         return ArticleEventInterface::PAGEVIEW_SOURCE_EXTERNAL;
178 178
     }
179 179
 
180
+    /**
181
+     * @return string
182
+     */
180 183
     private function getFragmentFromUrl(string $url, string $fragment): ?string
181 184
     {
182 185
         $fragments = \parse_url($url);
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Routing/MediaRouter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         return 'Route for media '.$name->getValues()->getId().' not found';
72 72
     }
73 73
 
74
+    /**
75
+     * @param string $name
76
+     */
74 77
     private function getItem($name)
75 78
     {
76 79
         $values = $name->getValues();
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Gimme/Context/Context.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@  discard block
 block discarded – undo
75 75
      */
76 76
     private $configurationCache = [];
77 77
 
78
+    /**
79
+     * @param string $configsPath
80
+     */
78 81
     public function __construct(EventDispatcherInterface $dispatcher, Cache $metadataCache, $configsPath = null)
79 82
     {
80 83
         $this->metadataCache = $metadataCache;
@@ -175,6 +178,9 @@  discard block
 block discarded – undo
175 178
         return new Meta($this, $value, $this->getConfigurationForValue($value));
176 179
     }
177 180
 
181
+    /**
182
+     * @return boolean
183
+     */
178 184
     public function isSupported($value)
179 185
     {
180 186
         if (!is_object($value)) {
@@ -312,7 +318,7 @@  discard block
 block discarded – undo
312 318
     }
313 319
 
314 320
     /**
315
-     * @param array $keys
321
+     * @param string[] $keys
316 322
      *
317 323
      * @return string
318 324
      */
@@ -344,7 +350,7 @@  discard block
 block discarded – undo
344 350
     /**
345 351
      * @param string $id
346 352
      *
347
-     * @return null|true
353
+     * @return null|boolean
348 354
      */
349 355
     public function restoreTemporaryUnset($id)
350 356
     {
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Twig/Node/GimmeListNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * @param \Twig_Node|null                   $else
37 37
      * @param \Twig_Node                        $body
38 38
      * @param int                               $lineno
39
-     * @param null                              $tag
39
+     * @param string                              $tag
40 40
      */
41 41
     public function __construct(
42 42
         \Twig_Node $variable,
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Twig/Node/GimmeNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * @param \Twig_Node_Expression|null $ignoreContext
30 30
      * @param \Twig_Node                 $body
31 31
      * @param int                        $lineno
32
-     * @param null                       $tag
32
+     * @param string                       $tag
33 33
      */
34 34
     public function __construct(
35 35
         \Twig_Node $annotation,
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Controller/RouteController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -194,6 +194,9 @@
 block discarded – undo
194 194
         return $route;
195 195
     }
196 196
 
197
+    /**
198
+     * @param string $name
199
+     */
197 200
     private function ensureRouteExists($name)
198 201
     {
199 202
         if (null !== $this->get('swp.repository.route')->findOneByName($name)) {
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Command/ThemeGenerateCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * @param InputInterface  $input
187 187
      * @param OutputInterface $output
188 188
      * @param Tenant          $tenant
189
-     * @param                 $themeDir
189
+     * @param                 string $themeDir
190 190
      * @param                 $themeName
191 191
      */
192 192
     protected function writeConfigFile(InputInterface $input, OutputInterface $output, Tenant $tenant, $themeDir, $themeName)
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 
279 279
     /**
280 280
      * @param Filesystem $filesystem
281
-     * @param $baseDir
281
+     * @param string $baseDir
282 282
      * @param $fileName
283 283
      *
284 284
      * @return string
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Controller/ContentListController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -268,6 +268,9 @@
 block discarded – undo
268 268
         return $list;
269 269
     }
270 270
 
271
+    /**
272
+     * @param null|string $name
273
+     */
271 274
     private function ensureContentListExists($name)
272 275
     {
273 276
         if (null !== $this->get('swp.repository.content_list')->findOneByName($name)) {
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Controller/ContentListItemController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -216,6 +216,9 @@
 block discarded – undo
216 216
         return new SingleResourceResponse($form, new ResponseContext(400));
217 217
     }
218 218
 
219
+    /**
220
+     * @param ContentListInterface $listId
221
+     */
219 222
     private function findByContentOr404($listId, $contentId): ContentListItemInterface
220 223
     {
221 224
         $listItem = $this->get('swp.repository.content_list_item')->findOneBy([
Please login to merge, or discard this patch.