Completed
Push — dependabot/composer/doctrine/d... ( b92d51 )
by
unknown
15:57
created
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/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.
src/SWP/Bundle/CoreBundle/Controller/FbiaFeedController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -85,6 +85,10 @@
 block discarded – undo
85 85
         return new SingleResourceResponse($form, new ResponseContext(400));
86 86
     }
87 87
 
88
+    /**
89
+     * @param \SWP\Bundle\CoreBundle\Model\ContentListInterface $contentBucket
90
+     * @param \SWP\Bundle\FacebookInstantArticlesBundle\Model\PageInterface $facebookPage
91
+     */
88 92
     private function checkIfFeedExists($contentBucket, $facebookPage)
89 93
     {
90 94
         if (null !== $this->get('swp.repository.facebook_instant_articles_feed')->findOneBy([
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Controller/SlideshowItemController.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@  discard block
 block discarded – undo
61 61
         return new ResourcesListResponse($items);
62 62
     }
63 63
 
64
+    /**
65
+     * @param string $id
66
+     */
64 67
     private function findOr404($id): ?SlideshowInterface
65 68
     {
66 69
         if (null === $slideshow = $this->get('swp.repository.slideshow')->findOneById($id)) {
@@ -70,6 +73,9 @@  discard block
 block discarded – undo
70 73
         return $slideshow;
71 74
     }
72 75
 
76
+    /**
77
+     * @param string $id
78
+     */
73 79
     private function findArticleOr404($id)
74 80
     {
75 81
         if (null === $article = $this->get('swp.repository.article')->findOneById($id)) {
Please login to merge, or discard this patch.
src/SWP/Bundle/UserBundle/Controller/ProfileController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -107,6 +107,9 @@
 block discarded – undo
107 107
         return new SingleResourceResponse($form, new ResponseContext(400));
108 108
     }
109 109
 
110
+    /**
111
+     * @param UserInterface $requestedUser
112
+     */
110 113
     private function checkIfCanAccess($requestedUser)
111 114
     {
112 115
         /** @var UserInterface $currentUser */
Please login to merge, or discard this patch.
src/SWP/Bundle/UserBundle/Model/UserInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param string $about
32
+     * @return void
32 33
      */
33 34
     public function setAbout(string $about);
34 35
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param string $firstName
43
+     * @return void
42 44
      */
43 45
     public function setFirstName(string $firstName);
44 46
 
@@ -49,6 +51,7 @@  discard block
 block discarded – undo
49 51
 
50 52
     /**
51 53
      * @param string $lastName
54
+     * @return void
52 55
      */
53 56
     public function setLastName(string $lastName);
54 57
 }
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Manager/MediaManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 
165 165
     protected function retryDecider()
166 166
     {
167
-        return function (
167
+        return function(
168 168
             $retries,
169 169
             Request $request,
170 170
             Response $response = null,
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 
206 206
     protected function retryDelay()
207 207
     {
208
-        return function ($numberOfRetries): int {
208
+        return function($numberOfRetries): int {
209 209
             return 1000 * $numberOfRetries;
210 210
         };
211 211
     }
Please login to merge, or discard this patch.
src/SWP/Behat/Listener/FixturesHookListener.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Listens to "exercise.before" event.
63 63
      *
64
-     * @param \Behat\Testwork\Tester\Event\ExerciseCompleted $event
64
+     * @param ExerciseCompleted $event
65 65
      */
66 66
     public function beforeExercise(ExerciseCompleted $event)
67 67
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     /**
73 73
      * Listens to "feature.before" event.
74 74
      *
75
-     * @param \Behat\Behat\Tester\Event\FeatureTested $event
75
+     * @param FeatureTested $event
76 76
      */
77 77
     public function beforeFeature(FeatureTested $event)
78 78
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Listens to "feature.after" event.
88 88
      *
89
-     * @param \Behat\Behat\Tester\Event\FeatureTested $event
89
+     * @param FeatureTested $event
90 90
      */
91 91
     public function afterFeature(FeatureTested $event)
92 92
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Listens to "scenario.before" and "outline.example.before" event.
103 103
      *
104
-     * @param \Behat\Behat\Tester\Event\AbstractScenarioTested $event
104
+     * @param ScenarioTested $event
105 105
      */
106 106
     public function beforeScenario(ScenarioTested $event)
107 107
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * Listens to "scenario.after" and "outline.example.after" event.
118 118
      *
119
-     * @param \Behat\Behat\Tester\Event\AbstractScenarioTested $event
119
+     * @param ScenarioTested $event
120 120
      */
121 121
     public function afterScenario(ScenarioTested $event)
122 122
     {
Please login to merge, or discard this patch.