File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 77 ],
88 "license" : " MIT" ,
99 "require-dev" : {
10- "phpunit/phpunit" : " ~ 9.5.4 " ,
11- "squizlabs/php_codesniffer" : " ~3.5.8 " ,
12- "php-coveralls/php-coveralls" : " ~2.4.3 "
10+ "phpunit/phpunit" : " 9.5.21 " ,
11+ "squizlabs/php_codesniffer" : " 3.7.1 " ,
12+ "php-coveralls/php-coveralls" : " 2.5.2 "
1313 },
1414 "require" : {
15- "phpugph/components" : " ~ 1.0.0 "
15+ "phpugph/components" : " 1.0.5 "
1616 },
1717 "autoload" : {
1818 "psr-4" : {
Original file line number Diff line number Diff line change @@ -79,13 +79,13 @@ public function compile($template)
7979
8080 $ file = $ this ->cache . '/ ' . $ this ->prefix . $ name . '.php ' ;
8181 // @codeCoverageIgnoreStart
82- if (is_dir ($ this ->cache ) && file_exists ($ file )) {
82+ if (is_dir (( string ) $ this ->cache ) && file_exists ($ file )) {
8383 $ callback = include ($ file );
8484 } else {
8585 $ code = $ this ->resolve (HandlebarsCompiler::class, $ this , $ template )
8686 ->compile ();
8787
88- if (is_dir ($ this ->cache )) {
88+ if (is_dir (( string ) $ this ->cache )) {
8989 file_put_contents ($ file , $ code );
9090 }
9191
You can’t perform that action at this time.
0 commit comments