Skip to content

Commit

Permalink
Fix autoload callback
Browse files Browse the repository at this point in the history
  • Loading branch information
wppunk committed Oct 14, 2021
1 parent d639bc7 commit 5c92b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class-autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function __construct( $prefix, $folder, Cache $cache ) {
*
* @throws Exception Class not found.
*/
private function autoload( $class ) {
public function autoload( $class ) {
if ( 0 !== strpos( $class, $this->prefix ) ) {
return;
}
Expand Down

0 comments on commit 5c92b2b

Please sign in to comment.