Skip to content

Commit a7ee49f

Browse files
committed
Formatting
1 parent ff374cb commit a7ee49f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Images.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace NickDeKruijk\Admin;
44

5-
trait Images {
6-
5+
trait Images
6+
{
77
public function images($column = null, $index = null)
88
{
99
return $this->imagesParse($column, $index, true);
@@ -24,7 +24,7 @@ public function imagesParse($column = null, $index = null, $array = false)
2424
$images = explode(chr(10), trim($this->$column));
2525
if ($array) {
2626
$array = [];
27-
foreach($images as $image) {
27+
foreach ($images as $image) {
2828
$image = explode('|', $image, 2);
2929
$array[] = [
3030
'file' => trim($image[0]),
@@ -51,5 +51,4 @@ public function imageCount($column = null)
5151
{
5252
return count($this->imagesParse($column));
5353
}
54-
5554
}

0 commit comments

Comments
 (0)