Completed
Push — master ( b09650...6664e8 )
by tac
05:40
created
lib/Collection/FieldCollection.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
         return $this->storage[$object->name()] = $object;
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $name
38
+     */
36 39
     public function get($name)
37 40
     {
38 41
         return $this->storage[$name];
@@ -94,6 +97,9 @@  discard block
 block discarded – undo
94 97
         return !$validator->fails();
95 98
     }
96 99
 
100
+    /**
101
+     * @param \Tacone\DataSource\AbstractDataSource $source
102
+     */
97 103
     public function from($source)
98 104
     {
99 105
         foreach ($this as $name => $field) {
Please login to merge, or discard this patch.
lib/Attribute/JoinedArrayAttribute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         $value = (array) $value;
68 68
         $return = array();
69 69
         $separator = $this->separator;
70
-        array_walk_recursive($value, function ($item) use (&$return, $separator) {
70
+        array_walk_recursive($value, function($item) use (&$return, $separator) {
71 71
             if (is_string($item)) {
72 72
                 $item = explode($separator, $item);
73 73
             }
Please login to merge, or discard this patch.
lib/BeesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $namespace = '\\Tacone\\Bees\\Field';
29 29
         $fields = ['string', 'integer', 'float', 'boolean'];
30 30
         foreach ($fields as $class) {
31
-            App::bind("bees.$class", function ($app, $arguments) use ($class, $namespace) {
31
+            App::bind("bees.$class", function($app, $arguments) use ($class, $namespace) {
32 32
                 $class = Str::studly($class).'Field';
33 33
                 $reflect = new ReflectionClass($namespace."\\$class");
34 34
                 $instance = $reflect->newInstanceArgs($arguments);
Please login to merge, or discard this patch.
lib/Attribute/AbstractAttribute.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@
 block discarded – undo
34 34
     }
35 35
 
36 36
     /**
37
-     * @param $object
37
+     * @param \Tacone\Bees\Field\Field $object
38 38
      * @param $storage
39
-     * @param $path
39
+     * @param string $path
40 40
      *
41 41
      * @return static
42 42
      */
Please login to merge, or discard this patch.
lib/Transformator/TypeCaster.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,19 +6,19 @@
 block discarded – undo
6 6
 {
7 7
     public static function toString()
8 8
     {
9
-        return function ($value) {
9
+        return function($value) {
10 10
             return (string) $value;
11 11
         };
12 12
     }
13 13
     public static function toInteger()
14 14
     {
15
-        return function ($value) {
15
+        return function($value) {
16 16
             return (int) $value;
17 17
         };
18 18
     }
19 19
     public static function toFloat()
20 20
     {
21
-        return function ($value) {
21
+        return function($value) {
22 22
             return (float) $value;
23 23
         };
24 24
     }
Please login to merge, or discard this patch.