Completed
Push — slicing ( f2b2db...255e0b )
by Serhii
16:43
created
src/Geekhub/DreamBundle/Controller/AjaxDreamController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
     }
131 131
 
132 132
     /**
133
-     * @param $type
133
+     * @param string $type
134 134
      * @param Request $request
135 135
      * @throws NotFoundHttpException
136 136
      * @internal param $file
Please login to merge, or discard this patch.
src/Geekhub/DreamBundle/Controller/DreamController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -347,6 +347,9 @@
 block discarded – undo
347 347
         )));
348 348
     }
349 349
 
350
+    /**
351
+     * @param User $user
352
+     */
350 353
     protected function getContributionElement($user)
351 354
     {
352 355
         return function ($element) use ($user) {
Please login to merge, or discard this patch.
src/Geekhub/DreamBundle/DataFixtures/ORM/LoadContributeData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param $file
105
+     * @param string $file
106 106
      *
107 107
      * @return array
108 108
      */
Please login to merge, or discard this patch.
src/Geekhub/DreamBundle/DataFixtures/ORM/LoadResourcesData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @param $file
97
+     * @param string $file
98 98
      *
99 99
      * @return array
100 100
      */
Please login to merge, or discard this patch.
src/Geekhub/DreamBundle/EventListener/DreamSubscriber.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -123,6 +123,9 @@  discard block
 block discarded – undo
123 123
         $this->mandrillDispatcher->send($message);
124 124
     }
125 125
 
126
+    /**
127
+     * @param string $status
128
+     */
126 129
     protected function postStatusEmail($status, Dream $dream)
127 130
     {
128 131
         if (in_array($status, array('success', 'implementing'))) {
@@ -159,6 +162,9 @@  discard block
 block discarded – undo
159 162
         }
160 163
     }
161 164
 
165
+    /**
166
+     * @param string $nameTwigTemplate
167
+     */
162 168
     protected function getTemplate($nameTwigTemplate, $options = array())
163 169
     {
164 170
         return $this->container->get('templating')->render(
Please login to merge, or discard this patch.
src/Geekhub/UserBundle/Entity/User.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -331,8 +331,8 @@
 block discarded – undo
331 331
     /**
332 332
      * Set odnoklasnikiId
333 333
      *
334
-     * @param  string $odnoklasnikiId
335
-     * @return string
334
+     * @param  string $odnoklassnikiId
335
+     * @return User
336 336
      */
337 337
     public function setOdnoklassnikiId($odnoklassnikiId)
338 338
     {
Please login to merge, or discard this patch.
src/Geekhub/UserBundle/Tests/Controller/UserControllerTest.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -185,10 +185,10 @@  discard block
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @param null $financeItems
189
-     * @param null $equipmentItems
190
-     * @param null $workItems
191
-     * @param null $otherItems
188
+     * @param integer $financeItems
189
+     * @param integer $equipmentItems
190
+     * @param integer $workItems
191
+     * @param integer $otherItems
192 192
      *
193 193
      * @return User
194 194
      */
@@ -230,9 +230,9 @@  discard block
 block discarded – undo
230 230
     /**
231 231
      * Count $keyDreams must be count $dreamContributed
232 232
      *
233
-     * @param $itemDreams
234
-     * @param array $keyDreams
235
-     * @param array $dreamContributed
233
+     * @param integer $itemDreams
234
+     * @param integer[] $keyDreams
235
+     * @param integer[] $dreamContributed
236 236
      *
237 237
      * @return ArrayCollection
238 238
      */
Please login to merge, or discard this patch.
src/Geekhub/UserBundle/UserProvider/AbstractSocialNetworkProvider.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -39,6 +39,11 @@  discard block
 block discarded – undo
39 39
         $this->defaultAvatarPath  = $defaultAvatarPath;
40 40
     }
41 41
 
42
+    /**
43
+     * @param string $localFileName
44
+     *
45
+     * @return string
46
+     */
42 47
     public function getMediaFromRemoteImg($remoteImg, $localFileName)
43 48
     {
44 49
         $destination = $this->kernelWebDir.'/../web'.$this->uploadDir;
@@ -77,6 +82,9 @@  discard block
 block discarded – undo
77 82
         return $media;
78 83
     }
79 84
 
85
+    /**
86
+     * @param string $localImg
87
+     */
80 88
     private function copyAvatar($remoteImg, $localImg)
81 89
     {
82 90
         $defaultImg = $this->kernelWebDir.$this->defaultAvatarPath;//'/../web/images/default_avatar.png';
@@ -100,6 +108,9 @@  discard block
 block discarded – undo
100 108
         return true;
101 109
     }
102 110
 
111
+    /**
112
+     * @return string
113
+     */
103 114
     public function getDefaultAvatar()
104 115
     {
105 116
         $defaultImg = $this->kernelWebDir.$this->defaultAvatarPath;//'/../web/images/default_avatar.png';
Please login to merge, or discard this patch.
src/Geekhub/UserBundle/UserProvider/FacebookProvider.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         return $user;
31 31
     }
32 32
 
33
+    /**
34
+     * @param string $token
35
+     */
33 36
     private function getFacebookUserInfo($token)
34 37
     {
35 38
         $client = new Client();
Please login to merge, or discard this patch.