Completed
Pull Request — master (#1672)
by Derek Stephen
15:58
created
src/Kunstmaan/DashboardBundle/Controller/GoogleAnalyticsController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @throws AccessDeniedException
88 88
      *
89
-     * @return array
89
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
90 90
      */
91 91
     public function setTokenAction(Request $request)
92 92
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      *
116 116
      * @throws AccessDeniedException
117 117
      *
118
-     * @return array
118
+     * @return \Symfony\Component\HttpFoundation\Response
119 119
      */
120 120
     public function configAction(Request $request)
121 121
     {
Please login to merge, or discard this patch.
src/Kunstmaan/DashboardBundle/Entity/AnalyticsConfig.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * Set overviews
76 76
      *
77 77
      * @param array $overviews
78
-     * @return AnalyticsDailyOverviews
78
+     * @return AnalyticsConfig
79 79
      */
80 80
     public function setOverviews($overviews)
81 81
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      * Set segments
99 99
      *
100 100
      * @param array $segments
101
-     * @return AnalyticsDailysegments
101
+     * @return AnalyticsConfig
102 102
      */
103 103
     public function setSegments($segments)
104 104
     {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      *
133 133
      * @param string $name
134 134
      *
135
-     * @return Analyticsname
135
+     * @return AnalyticsConfig
136 136
      */
137 137
     public function setName($name)
138 138
     {
Please login to merge, or discard this patch.
src/Kunstmaan/DashboardBundle/Entity/AnalyticsGoal.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     /**
134 134
      * Get visits
135 135
      *
136
-     * @return integer
136
+     * @return string
137 137
      */
138 138
     public function getVisits()
139 139
     {
Please login to merge, or discard this patch.
src/Kunstmaan/DashboardBundle/Entity/AnalyticsSegment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      *
100 100
      * @param integer $config
101 101
      *
102
-     * @return AnalyticsTopReferrals
102
+     * @return AnalyticsSegment
103 103
      */
104 104
     public function setConfig($config)
105 105
     {
Please login to merge, or discard this patch.
src/Kunstmaan/DashboardBundle/Repository/AnalyticsConfigRepository.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,6 @@
 block discarded – undo
159 159
     /**
160 160
      * saves the config name
161 161
      *
162
-     * @param string $profileId
163 162
      */
164 163
     public function saveConfigName($name, $id=false) {
165 164
         $em    = $this->getEntityManager();
Please login to merge, or discard this patch.
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/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.