Skip to content

Commit a47a5db

Browse files
committed
CS: Binary operators should be arounded by at least one space
1 parent 0e70397 commit a47a5db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Definition/PrototypedArrayNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ protected function normalizeValue($value)
245245

246246
$value = $this->remapXml($value);
247247

248-
$isAssoc = array_keys($value) !== range(0, count($value) -1);
248+
$isAssoc = array_keys($value) !== range(0, count($value) - 1);
249249
$normalized = array();
250250
foreach ($value as $k => $v) {
251251
if (null !== $this->keyAttribute && is_array($v)) {

Loader/FileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function import($resource, $type = null, $ignoreErrors = false, $sourceRe
9393
$resources = is_array($resource) ? $resource : array($resource);
9494
for ($i = 0; $i < $resourcesCount = count($resources); $i++) {
9595
if (isset(self::$loading[$resources[$i]])) {
96-
if ($i == $resourcesCount-1) {
96+
if ($i == $resourcesCount - 1) {
9797
throw new FileLoaderImportCircularReferenceException(array_keys(self::$loading));
9898
}
9999
} else {

0 commit comments

Comments
 (0)