Skip to content

Commit 1ecf7ae

Browse files
committed
Update class.LoaderHelper.php
1 parent da822d7 commit 1ecf7ae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

autoload/src/class.LoaderHelper.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class LoaderHelper
2525

2626
/**
2727
*
28-
* @var string $loadHandler
28+
* @var array $loadHandler
2929
*/
30-
protected $loadHandler = '';
30+
protected $loadHandler = [];
3131

3232
/**
3333
* Debug information
@@ -191,7 +191,6 @@ protected function getClass($filepath, $line, $arr, $lineNum)
191191
protected function splitInsatnce($namespaceORclass = false)
192192
{
193193
if ($this->instance) {
194-
195194
$this->namespace = explode('\\', $this->instance);
196195
$getLastForName = count($this->namespace) - 1;
197196
$classname = $this->namespace[$getLastForName];

0 commit comments

Comments
 (0)