Completed
Push — 5.0 ( b6eeb1...ccbe01 )
by Jeroen
24:36 queued 13:22
created
src/Kunstmaan/MediaBundle/Controller/MediaController.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -267,6 +267,10 @@  discard block
 block discarded – undo
267 267
         return $response;
268 268
     }
269 269
 
270
+    /**
271
+     * @param string $code
272
+     * @param string $message
273
+     */
270 274
     private function returnJsonError($code, $message)
271 275
     {
272 276
         return new JsonResponse([
@@ -440,7 +444,7 @@  discard block
 block discarded – undo
440 444
      * @Route("move/", name="KunstmaanMediaBundle_media_move")
441 445
      * @Method({"POST"})
442 446
      *
443
-     * @return string
447
+     * @return JsonResponse
444 448
      */
445 449
     public function moveMedia(Request $request)
446 450
     {
Please login to merge, or discard this patch.
Kunstmaan/MultiDomainBundle/Tests/Router/DomainBasedLocaleRouterTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -91,6 +91,12 @@
 block discarded – undo
91 91
         $object->match('/en/some-uri');
92 92
     }
93 93
 
94
+    /**
95
+     * @param Request $request
96
+     * @param NodeTranslation $nodeTranslation
97
+     *
98
+     * @return \Symfony\Component\DependencyInjection\ContainerInterface
99
+     */
94 100
     private function getContainer($request, $nodeTranslation = null)
95 101
     {
96 102
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Router/SlugRouter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -256,6 +256,7 @@
 block discarded – undo
256 256
     }
257 257
 
258 258
     /**
259
+     * @param string $host
259 260
      * @return bool
260 261
      */
261 262
     protected function isMultiLanguage($host = null)
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/Router/SlugRouterTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -116,6 +116,12 @@
 block discarded – undo
116 116
         $object->match('/en/some-uri');
117 117
     }
118 118
 
119
+    /**
120
+     * @param Request|null $request
121
+     * @param NodeTranslation $nodeTranslation
122
+     *
123
+     * @return \Symfony\Component\DependencyInjection\ContainerInterface
124
+     */
119 125
     private function getContainer($request, $multiLanguage = false, $nodeTranslation = null)
120 126
     {
121 127
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Entity/TagManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@
 block discarded – undo
67 67
             ->getResult(self::TAGGING_HYDRATOR);
68 68
     }
69 69
 
70
+    /**
71
+     * @param integer $id
72
+     */
70 73
     public function findById($id)
71 74
     {
72 75
         if (!isset($id) || is_null($id)) {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/Translator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -124,6 +124,12 @@
 block discarded – undo
124 124
         return $trans;
125 125
     }
126 126
 
127
+    /**
128
+     * @param string $id
129
+     * @param string $domain
130
+     * @param string|null $locale
131
+     * @param string $trans
132
+     */
127 133
     public function profileTranslation($id, $parameters, $domain, $locale, $trans)
128 134
     {
129 135
         if (!$this->request || $this->container->getParameter('kuma_translator.profiler') === false) {
Please login to merge, or discard this patch.
Tests/EventListener/Security/MaxNumberByIpEventListenerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
  */
11 11
 class MaxNumberByIpEventListenerTest extends \PHPUnit_Framework_TestCase
12 12
 {
13
+    /**
14
+     * @param boolean $returnNull
15
+     */
13 16
     protected function mockRepositoryResolver($returnNull, $voteNumber = 0)
14 17
     {
15 18
         $mockedRepository = null;
Please login to merge, or discard this patch.