Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 0fe21d7

Browse files
authored
Update helpers.php
1 parent b83af0f commit 0fe21d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/helpers.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
function getClassFullNameFromFile($filePathName)
1212
{
13-
return $this->getClassNamespaceFromFile($filePathName) . '\\' . $this->getClassNameFromFile($filePathName);
13+
return getClassNamespaceFromFile($filePathName) . '\\' . getClassNameFromFile($filePathName);
1414
}
1515

1616

@@ -23,7 +23,7 @@ function getClassFullNameFromFile($filePathName)
2323
*/
2424
function getClassObjectFromFile($filePathName)
2525
{
26-
$classString = $this->getClassFullNameFromFile($filePathName);
26+
$classString = getClassFullNameFromFile($filePathName);
2727

2828
$object = new $classString;
2929

@@ -96,4 +96,4 @@ function getClassNameFromFile($filePathName)
9696
}
9797

9898
return $classes[0];
99-
}
99+
}

0 commit comments

Comments
 (0)