Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fc5c93

Browse files
committed
Remove unneeded method call.
loadConfig() is already called from constructor.
1 parent e3e7078 commit 7fc5c93

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Core/PluginCollection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ protected function loadConfig(): void
122122
*/
123123
public function findPath(string $name): string
124124
{
125-
$this->loadConfig();
126-
127125
$path = Configure::read('plugins.' . $name);
128126
if ($path) {
129127
return $path;

0 commit comments

Comments
 (0)