Completed
Push — master ( fb21bc...46b7df )
by Emily
02:00
created
src/Service/PropertyAccessor.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -103,6 +103,10 @@
 block discarded – undo
103 103
         }
104 104
     }
105 105
 
106
+    /**
107
+     * @param string $name
108
+     * @param \Closure $cast
109
+     */
106 110
     private function setScalarValue($property, $value, $name, $cast)
107 111
     {
108 112
         $method = '__to' . $name;
Please login to merge, or discard this patch.
src/Service/RawPropertyAccessor.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param object $object The object to access
32
-     * @param ReflectionModel|null $reflect A reflection entity
33 32
      */
34 33
     public function __construct($object)
35 34
     {
@@ -61,7 +60,7 @@  discard block
 block discarded – undo
61 60
      * permissions
62 61
      *
63 62
      * @param string $key The property to read
64
-     * @return mixed The property's value
63
+     * @return \Reflector The property's value
65 64
      * @throws CannotReadPropertyException In the event the property
66 65
      *     does not exist
67 66
      */
@@ -80,7 +79,7 @@  discard block
 block discarded – undo
80 79
      * Adds a value to a property, irrespective of access permissions
81 80
      *
82 81
      * @param string $key The property to write to
83
-     * @param mixed $value The value to add
82
+     * @param \Spaark\CompositeUtils\Model\Reflection\Reflector $value The value to add
84 83
      * @throws CannotWritePropertyException In the event the property
85 84
      *    does not exist
86 85
      */ 
Please login to merge, or discard this patch.