Completed
Push — 1.4 ( d3bf7f...5a07aa )
by Paweł
10:00 queued 10s
created
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/Bundle/CoreBundle/Controller/ContentListItemController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -209,6 +209,9 @@
 block discarded – undo
209 209
         }
210 210
     }
211 211
 
212
+    /**
213
+     * @param ContentListInterface $listId
214
+     */
212 215
     private function findByContentOr404($listId, $contentId): ContentListItemInterface
213 216
     {
214 217
         $listItem = $this->get('swp.repository.content_list_item')->findOneBy([
Please login to merge, or discard this patch.