Completed
Push — master ( 6664e8...438599 )
by tac
03:37
created
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/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.
lib/Attribute/AbstractAttribute.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -9,6 +9,10 @@
 block discarded – undo
9 9
     protected $path;
10 10
     protected $default;
11 11
 
12
+    /**
13
+     * @param \Tacone\Bees\Field\Field $object
14
+     * @param string $path
15
+     */
12 16
     protected function __construct($object, &$storage, $path)
13 17
     {
14 18
         $this->object = $object;
Please login to merge, or discard this patch.