Skip to content

Commit b5afc05

Browse files
authored
Fix indenting
1 parent c2b1676 commit b5afc05

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/ContextTypes/Organization.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,26 @@ public function __construct(array $attributes, array $extendedStructure = [])
2626
parent::__construct($attributes, array_merge($this->structure, $this->extendedStructure, $extendedStructure));
2727
}
2828

29-
/**
30-
* Set the contactPoints
31-
*
32-
* @param array $items
33-
* @return array
34-
*/
35-
protected function setContactPointAttribute($items)
36-
{
37-
if (is_array($items) === false) {
38-
return $items;
39-
}
29+
/**
30+
* Set the contactPoints
31+
*
32+
* @param array $items
33+
* @return array
34+
*/
35+
protected function setContactPointAttribute($items)
36+
{
37+
if (is_array($items) === false) {
38+
return $items;
39+
}
4040

41-
//Check if it is an array with one dimension
42-
if (is_array(reset($items)) === false) {
43-
return $this->getNestedContext(ContactPoint::class, $items);
44-
}
41+
//Check if it is an array with one dimension
42+
if (is_array(reset($items)) === false) {
43+
return $this->getNestedContext(ContactPoint::class, $items);
44+
}
4545

46-
//Process multi dimensional array
47-
return array_map(function ($item) {
48-
return $this->getNestedContext(ContactPoint::class, $item);
49-
}, $items);
50-
}
46+
//Process multi dimensional array
47+
return array_map(function ($item) {
48+
return $this->getNestedContext(ContactPoint::class, $item);
49+
}, $items);
50+
}
5151
}

0 commit comments

Comments
 (0)