Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 5084634

Browse files
Removed few spaces for code style checks
1 parent 8920f47 commit 5084634

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ContentValidationListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ protected function shouldRemoveEmptyData($controllerService)
393393
protected function removeEmptyData($data, $compareTo = [])
394394
{
395395
// TODO when bumped to PHP > 7 and strict types above enforced this check may be removed
396-
if ( ! is_array($data) || ! is_array($compareTo)) {
396+
if (! is_array($data) || ! is_array($compareTo)) {
397397
throw new TypeError(
398398
sprintf(
399399
'Expected array\'s for function %s. Received "%s" and "%s".',
@@ -428,11 +428,11 @@ protected function removeEmptyData($data, $compareTo = [])
428428
}
429429

430430
foreach ($data as $key => $value) {
431-
if ( ! is_array($value) && ! empty($value)) {
431+
if (! is_array($value) && ! empty($value)) {
432432
continue;
433433
}
434434

435-
if ( ! is_array($value)) {
435+
if (! is_array($value)) {
436436
unset($data[$key]);
437437
continue;
438438
}

0 commit comments

Comments
 (0)