We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49dabc1 commit 3185942Copy full SHA for 3185942
1 file changed
system/View/Cell.php
@@ -175,9 +175,9 @@ protected function determineClass(string $library): array
175
}
176
177
// locate and return an instance of the cell
178
- $class = Factories::cells($class);
+ $object = Factories::cells($class);
179
180
- if (! is_object($class)) {
+ if (! is_object($object)) {
181
throw ViewException::forInvalidCellClass($class);
182
183
@@ -186,7 +186,7 @@ protected function determineClass(string $library): array
186
187
188
return [
189
- $class,
+ $object,
190
$method,
191
];
192
0 commit comments