Completed
Pull Request — master (#192)
by
unknown
09:39
created
src/WhiteOctober/PagerfantaTestBundle/Controller/PagerfantaController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
         ));
67 67
     }
68 68
 
69
+    /**
70
+     * @param string $name
71
+     */
69 72
     private function renderPagerfanta($name)
70 73
     {
71 74
         $template = $this->buildTemplateName($name);
Please login to merge, or discard this patch.
PagerfantaTestBundle/Tests/Controller/PagerfantaControllerTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -240,6 +240,10 @@
 block discarded – undo
240 240
         $this->assertSame(200, $response->getStatusCode());
241 241
     }
242 242
 
243
+    /**
244
+     * @param string $view
245
+     * @param string $html
246
+     */
243 247
     private function assertView($view, $html)
244 248
     {
245 249
         $client = static::createClient();
Please login to merge, or discard this patch.
Tests/View/TranslatedViewTest.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
         return $this->getMock($this->viewClass());
38 38
     }
39 39
 
40
+    /**
41
+     * @return string
42
+     */
40 43
     abstract protected function viewClass();
41 44
 
42 45
     private function createTranslatorMock()
@@ -95,6 +98,9 @@  discard block
 block discarded – undo
95 98
         $this->assertRender($options);
96 99
     }
97 100
 
101
+    /**
102
+     * @param integer $at
103
+     */
98 104
     private function translatorExpectsPreviousAt($at)
99 105
     {
100 106
         $previous = $this->previous();
@@ -106,6 +112,9 @@  discard block
 block discarded – undo
106 112
             ->will($this->returnValue($previous));
107 113
     }
108 114
 
115
+    /**
116
+     * @param integer $at
117
+     */
109 118
     private function translatorExpectsNextAt($at)
110 119
     {
111 120
         $next = $this->next();
@@ -167,8 +176,14 @@  discard block
 block discarded – undo
167 176
         return $this->buildNextMessage($this->next());
168 177
     }
169 178
 
179
+    /**
180
+     * @param string $text
181
+     */
170 182
     abstract protected function buildPreviousMessage($text);
171 183
 
184
+    /**
185
+     * @param string $text
186
+     */
172 187
     abstract protected function buildNextMessage($text);
173 188
 
174 189
     public function testGetNameShouldReturnTheName()
Please login to merge, or discard this patch.