Completed
Branch master (f41992)
by Julien
08:12
created
src/EntityRepository.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -37,10 +37,8 @@
 block discarded – undo
37 37
 
38 38
     /**
39 39
      *
40
-     * @param type $client - the client to process the data with
41 40
      * @param object $sdkClient - the client to connect to the datasource with
42 41
      * @param object $restClient - cleitn to process the http requests
43
-     * @param type $class The entiy to work with
44 42
      */
45 43
     public function __construct($sdkClient, $restClient, $entityName)
46 44
     {
Please login to merge, or discard this patch.
src/Mapping.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * setMapping
44 44
      *
45
-     * @param array $mapping
45
+     * @param Mapping\ClassMetadata[] $mapping
46 46
      * @access public
47 47
      * @return Mapping
48 48
      */
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @param string $id
90 90
      * @access public
91
-     * @return void
91
+     * @return string
92 92
      */
93 93
     public function getKeyFromId($id)
94 94
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      *
105 105
      * @param string $modelName model name
106 106
      * @access public
107
-     * @return void
107
+     * @return string
108 108
      */
109 109
     public function getKeyFromModel($modelName)
110 110
     {
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     /**
200 200
      * removePrefix
201 201
      *
202
-     * @param mixed $value
202
+     * @param string $value
203 203
      * @access private
204 204
      * @return string
205 205
      */
Please login to merge, or discard this patch.
src/Mapping/Driver/AnnotationDriver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,9 +191,9 @@
 block discarded – undo
191 191
     /**
192 192
      * getPropertyAnnotation
193 193
      *
194
-     * @param mixed $reader
195
-     * @param mixed $property
196
-     * @param mixed $classname
194
+     * @param FileCacheReader $reader
195
+     * @param \ReflectionProperty $property
196
+     * @param string $classname
197 197
      * @access private
198 198
      * @return void
199 199
      */
Please login to merge, or discard this patch.
src/Model/ModelHydrator.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * @param array $data
80 80
      * @param string $modelName
81 81
      * @access public
82
-     * @return array
82
+     * @return HydraCollection
83 83
      */
84 84
     public function hydrateList($data, $modelName)
85 85
     {
@@ -92,6 +92,9 @@  discard block
 block discarded – undo
92 92
         return new HydraCollection();
93 93
     }
94 94
 
95
+    /**
96
+     * @param string $modelName
97
+     */
95 98
     public function deserializeAll($data, $modelName)
96 99
     {
97 100
         $data['hydra:member'] = array_map(
Please login to merge, or discard this patch.
src/RestClient.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -209,11 +209,11 @@
 block discarded – undo
209 209
     /**
210 210
      * logRequest
211 211
      *
212
-     * @param mixed $startTime
213
-     * @param mixed $method
214
-     * @param mixed $url
212
+     * @param double|null $startTime
213
+     * @param string $method
214
+     * @param string $url
215 215
      * @param mixed $parameters
216
-     * @param mixed $response
216
+     * @param \Psr\Http\Message\ResponseInterface $response
217 217
      * @access private
218 218
      * @return void
219 219
      */
Please login to merge, or discard this patch.
src/SdkClient.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     /**
26 26
      * Constructor
27
-     * @param ClientInterface $restClient
27
+     * @param RestClient $restClient
28 28
      */
29 29
     public function __construct(RestClient $restClient, Mapping $mapping, Serializer $serializer = null)
30 30
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @param string $id
115 115
      * @access public
116
-     * @return object
116
+     * @return \ProxyManager\Proxy\GhostObjectInterface
117 117
      */
118 118
     public function createProxy($id)
119 119
     {
Please login to merge, or discard this patch.
Tests/Units/EntityRepository.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * testFind
17 17
      *
18
-     * @param mixed $method
19 18
      * @access public
20 19
      * @return void
21 20
      */
@@ -91,7 +90,6 @@  discard block
 block discarded – undo
91 90
     /**
92 91
      * testFindNotFound
93 92
      *
94
-     * @param mixed $method
95 93
      * @access public
96 94
      * @return void
97 95
      */
Please login to merge, or discard this patch.
Tests/Units/Mapping.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
      * getMappingArray
203 203
      *
204 204
      * @access private
205
-     * @return void
205
+     * @return ClassMetadata[]
206 206
      */
207 207
     private function getMappingArray()
208 208
     {
Please login to merge, or discard this patch.