File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class CodeigniterVite
1212
1313 public function __construct ()
1414 {
15- static ::$ manifest = is_file (FCPATH . 'manifest.json ' ) ? FCPATH . 'manifest.json ' : null ;
15+ self ::$ manifest = is_file (FCPATH . 'manifest.json ' ) ? FCPATH . 'manifest.json ' : null ;
1616 }
1717
1818 /**
@@ -30,14 +30,14 @@ public static function tags()
3030 # React HMR fix.
3131 if (!empty ($ result ))
3232 {
33- $ result = static ::getReactTag () . "$ result " ;
33+ $ result = self ::getReactTag () . "$ result " ;
3434 }
3535
3636 # If vite isn't running, then return the compiled resources.
37- if (empty ($ result ) && static ::$ manifest )
37+ if (empty ($ result ) && self ::$ manifest )
3838 {
3939 # Get the manifest content.
40- $ manifest = file_get_contents (static ::$ manifest );
40+ $ manifest = file_get_contents (self ::$ manifest );
4141 # You look much pretty as an php object =).
4242 $ manifest = json_decode ($ manifest );
4343
@@ -93,7 +93,7 @@ public static function check(): bool
9393 {
9494 $ result = true ;
9595 }
96- elseif (!empty (static ::$ manifest ))
96+ elseif (!empty (self ::$ manifest ))
9797 {
9898 $ result = true ;
9999 }
You can’t perform that action at this time.
0 commit comments