| @@ -72,13 +72,13 @@ discard block | ||
| 72 | 72 | $value = $this->behavior->get( | 
| 73 | 73 | $builder->field, | 
| 74 | 74 | $builder->id, | 
| 75 | - ! $builder->raw | |
| 75 | + !$builder->raw | |
| 76 | 76 | ); | 
| 77 | 77 | |
| 78 | 78 | // Next, we will iterate over the defined components and pass our value | 
| 79 | 79 | // through each component's method if it was defined on the builder. | 
| 80 | 80 |          foreach ($this->components as $component) { | 
| 81 | -            if (! is_null($builder->$component)) { | |
| 81 | +            if (!is_null($builder->$component)) { | |
| 82 | 82 | $method = 'run'.ucfirst($component); | 
| 83 | 83 | |
| 84 | 84 | $value = $this->$method($builder->$component, $value); | 
| @@ -139,7 +139,7 @@ discard block | ||
| 139 | 139 | */ | 
| 140 | 140 | protected function runEscape($func, $value) | 
| 141 | 141 |      { | 
| 142 | -        if (! is_string($value)) { | |
| 142 | +        if (!is_string($value)) { | |
| 143 | 143 |              throw new RunnerException('Cannot escape value of type '.gettype($value)); | 
| 144 | 144 | } | 
| 145 | 145 | |
| @@ -167,7 +167,7 @@ discard block | ||
| 167 | 167 | */ | 
| 168 | 168 | protected function runShortcodes($_, $value) | 
| 169 | 169 |      { | 
| 170 | -        if (! is_string($value)) { | |
| 170 | +        if (!is_string($value)) { | |
| 171 | 171 | throw new RunnerException( | 
| 172 | 172 | 'Cannot do shortcode on value of type '.gettype($value) | 
| 173 | 173 | ); | 
| @@ -57,9 +57,9 @@ discard block | ||
| 57 | 57 | public static function field($name, $id = null) | 
| 58 | 58 |      { | 
| 59 | 59 | return self::getInstance() | 
| 60 | - ->getBuilder(FieldBehavior::class) | |
| 61 | - ->field($name) | |
| 62 | - ->id($id); | |
| 60 | + ->getBuilder(FieldBehavior::class) | |
| 61 | + ->field($name) | |
| 62 | + ->id($id); | |
| 63 | 63 | } | 
| 64 | 64 | |
| 65 | 65 | /** | 
| @@ -71,8 +71,8 @@ discard block | ||
| 71 | 71 | public static function subField($name) | 
| 72 | 72 |      { | 
| 73 | 73 | return self::getInstance() | 
| 74 | - ->getBuilder(SubFieldBehavior::class) | |
| 75 | - ->field($name); | |
| 74 | + ->getBuilder(SubFieldBehavior::class) | |
| 75 | + ->field($name); | |
| 76 | 76 | } | 
| 77 | 77 | |
| 78 | 78 | /** | 
| @@ -84,9 +84,9 @@ discard block | ||
| 84 | 84 | public static function option($name) | 
| 85 | 85 |      { | 
| 86 | 86 | return self::getInstance() | 
| 87 | - ->getBuilder(FieldBehavior::class) | |
| 88 | - ->field($name) | |
| 89 | -                     ->id('option'); | |
| 87 | + ->getBuilder(FieldBehavior::class) | |
| 88 | + ->field($name) | |
| 89 | +                        ->id('option'); | |
| 90 | 90 | } | 
| 91 | 91 | |
| 92 | 92 | /** | 
| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 | */ | 
| 41 | 41 | private static function getInstance() | 
| 42 | 42 |      { | 
| 43 | -        if (! self::$instance) { | |
| 43 | +        if (!self::$instance) { | |
| 44 | 44 | self::$instance = new self(); | 
| 45 | 45 | } | 
| 46 | 46 | |
| @@ -98,7 +98,7 @@ discard block | ||
| 98 | 98 | private function getBuilder($behavior) | 
| 99 | 99 |      { | 
| 100 | 100 | // Create a new behavior of the given type if one does not yet exist. | 
| 101 | -        if (! isset($this->behaviors[$behavior])) { | |
| 101 | +        if (!isset($this->behaviors[$behavior])) { | |
| 102 | 102 | $this->behaviors[$behavior] = new $behavior(); | 
| 103 | 103 | } | 
| 104 | 104 | |
| @@ -2,7 +2,7 @@ discard block | ||
| 2 | 2 | |
| 3 | 3 | use Samrap\Acf\Acf; | 
| 4 | 4 | |
| 5 | -if (! function_exists('fluent_field')) { | |
| 5 | +if (!function_exists('fluent_field')) { | |
| 6 | 6 | /** | 
| 7 | 7 | * Return a new builder instance for a field. | 
| 8 | 8 | * | 
| @@ -16,7 +16,7 @@ discard block | ||
| 16 | 16 | } | 
| 17 | 17 | } | 
| 18 | 18 | |
| 19 | -if (! function_exists('fluent_sub_field')) { | |
| 19 | +if (!function_exists('fluent_sub_field')) { | |
| 20 | 20 | /** | 
| 21 | 21 | * Return a new builder instance for a subfield. | 
| 22 | 22 | * | 
| @@ -29,7 +29,7 @@ discard block | ||
| 29 | 29 | } | 
| 30 | 30 | } | 
| 31 | 31 | |
| 32 | -if (! function_exists('fluent_option')) { | |
| 32 | +if (!function_exists('fluent_option')) { | |
| 33 | 33 | /** | 
| 34 | 34 | * Return a new builder instance for an option field. | 
| 35 | 35 | * | 
| @@ -236,7 +236,7 @@ | ||
| 236 | 236 | */ | 
| 237 | 237 | public function __call($name, $arguments) | 
| 238 | 238 |      { | 
| 239 | -        if (! isset($this->macros[$name])) { | |
| 239 | +        if (!isset($this->macros[$name])) { | |
| 240 | 240 | throw new BadMethodCallException( | 
| 241 | 241 |                  "The method or macro {$name} does not exist." | 
| 242 | 242 | ); |