Completed
Pull Request — 3.6 (#1940)
by Sander
12:35 queued 11s
created
src/Kunstmaan/FixturesBundle/Builder/BuilderInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -7,11 +7,23 @@
 block discarded – undo
7 7
 
8 8
 interface BuilderInterface
9 9
 {
10
+    /**
11
+     * @return boolean
12
+     */
10 13
     public function canBuild(Fixture $fixture);
11 14
 
15
+    /**
16
+     * @return void
17
+     */
12 18
     public function preBuild(Fixture $fixture);
13 19
 
20
+    /**
21
+     * @return void
22
+     */
14 23
     public function postBuild(Fixture $fixture);
15 24
 
25
+    /**
26
+     * @return void
27
+     */
16 28
     public function postFlushBuild(Fixture $fixture);
17 29
 }
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Builder/BuildingSupervisor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @return mixed
80
+     * @return Fixture[]
81 81
      */
82 82
     public function getFixtures()
83 83
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Builder/PageBuilder.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -227,6 +227,11 @@
 block discarded – undo
227 227
         return $translation;
228 228
     }
229 229
 
230
+    /**
231
+     * @param string $string
232
+     *
233
+     * @return string
234
+     */
230 235
     private static function incrementString($string, $append = '-v')
231 236
     {
232 237
         $finalDigitGrabberRegex = '/\d+$/';
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Parser/Parser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         $this->specParsers = new ArrayCollection();
26 26
     }
27 27
 
28
+    /**
29
+     * @param ArrayCollection $providers
30
+     */
28 31
     public function parseFixture(Fixture $fixture, $providers, $fixtures = [])
29 32
     {
30 33
         $entities = [];
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Parser/Property/Method.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return $value;
75 75
     }
76 76
 
77
+    /**
78
+     * @param string[] $patterns
79
+     */
77 80
     private function processValue($pattern, $result, $value, $patterns)
78 81
     {
79 82
         if (!is_string($result) && !is_int($result) && count($patterns) > 1 && strlen(str_replace($pattern, '', $value)) > 0) {
@@ -89,7 +92,7 @@  discard block
 block discarded – undo
89 92
     }
90 93
 
91 94
     /**
92
-     * @param $parameters
95
+     * @param \ReflectionParameter[] $parameters
93 96
      * @param $additional
94 97
      * @return array
95 98
      */
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Parser/Spec/Listed.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * Check if this parser is applicable
13 13
      *
14
-     * @return bool
14
+     * @return integer
15 15
      */
16 16
     public function canParse($value)
17 17
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Populator/Methods/MethodInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -12,6 +12,7 @@  discard block
 block discarded – undo
12 12
      * @param mixed $object
13 13
      * @param string $property
14 14
      * @param mixed $value
15
+     * @return boolean
15 16
      */
16 17
     public function canSet($object, $property, $value);
17 18
 
@@ -19,6 +20,7 @@  discard block
 block discarded – undo
19 20
      * @param mixed $object
20 21
      * @param string $property
21 22
      * @param mixed $value
23
+     * @return void
22 24
      */
23 25
     public function set($object, $property, $value);
24 26
 }
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/AdminList/FormPageAdminListConfigurator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      *
119 119
      * @param array $params
120 120
      *
121
-     * @return array
121
+     * @return string
122 122
      */
123 123
     public function getAddUrlFor(array $params = array())
124 124
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Controller/AbstractFormPageController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * @param Request $request
14
-     * @return null
14
+     * @return Response|null
15 15
      */
16 16
     public function serviceAction(Request $request)
17 17
     {
Please login to merge, or discard this patch.