Completed
Push — slicing ( f2b2db...255e0b )
by Serhii
16:43
created
src/Application/Sonata/MediaBundle/Controller/ApiController.php 1 patch
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,7 @@
 block discarded – undo
5 5
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6 6
 use Symfony\Component\HttpFoundation\Request;
7 7
 use Symfony\Component\HttpFoundation\Response;
8
-use FOS\RestBundle\Controller\FOSRestController,
9
-    FOS\RestBundle\Controller\Annotations\View,
10
-    FOS\RestBundle\Controller\Annotations\QueryParam,
11
-    FOS\RestBundle\Request\ParamFetcher;
8
+use FOS\RestBundle\Controller\Annotations\View;
12 9
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
13 10
 use Application\Sonata\MediaBundle\Model\UploadFileResponse;
14 11
 
Please login to merge, or discard this patch.
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 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 use Symfony\Component\Form\Form;
32 32
 use Symfony\Component\HttpFoundation\Request;
33 33
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
34
-use Symfony\Component\Validator\Constraints\DateTime;
35 34
 
36 35
 class DreamController extends Controller
37 36
 {
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/DreamBundle/Form/DreamFilesTransformer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Application\Sonata\MediaBundle\Entity\Media;
16 16
 use Symfony\Component\HttpFoundation\File\File;
17 17
 use Symfony\Component\Filesystem\Filesystem;
18
-use Symfony\Component\Filesystem\Exception\IOExceptionInterface;
19 18
 
20 19
 class DreamFilesTransformer implements DataTransformerInterface
21 20
 {
Please login to merge, or discard this patch.
src/Geekhub/DreamBundle/Form/DreamPicturesTransformer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Application\Sonata\MediaBundle\Entity\Media;
15 15
 use Symfony\Component\HttpFoundation\File\File;
16 16
 use Symfony\Component\Filesystem\Filesystem;
17
-use Symfony\Component\Filesystem\Exception\IOExceptionInterface;
18 17
 
19 18
 class DreamPicturesTransformer implements DataTransformerInterface
20 19
 {
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.