Skip to content

Commit e31579e

Browse files
authored
Merge pull request #7569 from kenjis/fix-cell-error-msg
fix: wrong classname in exception message in Cell
2 parents 5d6d4be + 3185942 commit e31579e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system/View/Cell.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ protected function determineClass(string $library): array
175175
}
176176

177177
// locate and return an instance of the cell
178-
$class = Factories::cells($class);
178+
$object = Factories::cells($class);
179179

180-
if (! is_object($class)) {
180+
if (! is_object($object)) {
181181
throw ViewException::forInvalidCellClass($class);
182182
}
183183

@@ -186,7 +186,7 @@ protected function determineClass(string $library): array
186186
}
187187

188188
return [
189-
$class,
189+
$object,
190190
$method,
191191
];
192192
}

0 commit comments

Comments
 (0)