Completed
Push — dependabot/composer/doctrine/d... ( b92d51 )
by
unknown
15:57
created
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/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.
src/SWP/Component/TemplatesSystem/Twig/Extension/ContainerExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 class ContainerExtension extends AbstractExtension
24 24
 {
25 25
     /**
26
-     * @return array|\Twig_TokenParserInterface[]
26
+     * @return ContainerTokenParser[]
27 27
      */
28 28
     public function getTokenParsers()
29 29
     {
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Controller/SlideshowController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@
 block discarded – undo
82 82
         return $list;
83 83
     }
84 84
 
85
+    /**
86
+     * @param string $id
87
+     */
85 88
     private function findArticleOr404($id)
86 89
     {
87 90
         if (null === $article = $this->get('swp.repository.article')->findOneById($id)) {
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Controller/AuthController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -179,6 +179,9 @@
 block discarded – undo
179 179
         ]);
180 180
     }
181 181
 
182
+    /**
183
+     * @param string $token
184
+     */
182 185
     private function generateOrGetApiKey(UserInterface $user, $token)
183 186
     {
184 187
         $apiKey = null;
Please login to merge, or discard this patch.