Completed
Push — master ( 24e881...60d5b1 )
by tac
08:13
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.