Test Setup Failed
Pull Request — master (#105)
by Viktor
06:20
created
src/RepeaterBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         if (array_key_exists('collapsed', $config)) {
41 41
             $fieldKey = $this->fieldsBuilder->getField($config['collapsed'])->getKey();
42 42
             $fieldKey = preg_replace('/^field_/', '', $fieldKey);
43
-            $config['collapsed'] = $this->getName() . '_' . $fieldKey;
43
+            $config['collapsed'] = $this->getName().'_'.$fieldKey;
44 44
         }
45 45
         return $config;
46 46
     }
@@ -68,6 +68,6 @@  discard block
 block discarded – undo
68 68
      */
69 69
     private function getDefaultButtonLabel()
70 70
     {
71
-        return 'Add ' . Inflector::singularize($this->getLabel());
71
+        return 'Add '.Inflector::singularize($this->getLabel());
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
src/AccordionBuilder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct($name, $type = 'accordion', $config = [])
8 8
     {
9
-       parent::__construct($name, $type, $config);
9
+        parent::__construct($name, $type, $config);
10 10
     }
11 11
 
12 12
     public function setOpen($value = 1)
Please login to merge, or discard this patch.
src/FieldBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,11 +278,11 @@
 block discarded – undo
278 278
         $id = trim($id, '#');
279 279
         $class = trim($class, '.');
280 280
 
281
-        if (! empty($id)) {
281
+        if (!empty($id)) {
282 282
             $this->setAttr('id', $id);
283 283
         }
284 284
 
285
-        if (! empty($class)) {
285
+        if (!empty($class)) {
286 286
             $class = str_replace('.', ' ', $class);
287 287
             $this->setAttr('class', $class);
288 288
         }
Please login to merge, or discard this patch.
src/FieldsBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
     /**
198 198
      * Initialize the FieldBuilder, add to FieldManager
199 199
      * @template FB of FieldBuilder
200
-     * @param  FB $field
200
+     * @param  FieldBuilder $field
201 201
      * @return FB
202 202
      */
203 203
     protected function initializeField($field)
Please login to merge, or discard this patch.
src/Transform/Transform.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     private $builder;
18 18
 
19 19
     /**
20
-     * @param B $builder
20
+     * @param Builder $builder
21 21
      */
22 22
     public function __construct(Builder $builder)
23 23
     {
Please login to merge, or discard this patch.