Skip to content

Commit

Permalink
Fix type of returned value
Browse files Browse the repository at this point in the history
  • Loading branch information
Miraeld committed Dec 4, 2024
1 parent 89afb24 commit 6c0669b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Engine/Common/AbstractFileSystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function hash_to_path( string $hash ): string {
*
* @param int $levels Number of levels.
*/
$levels = wpm_apply_filters_typed( 'int', 'rocket_used_css_dir_level', 3 );
$levels = wpm_apply_filters_typed( 'integer', 'rocket_used_css_dir_level', 3 );

$base = substr( $hash, 0, $levels );
$remain = substr( $hash, $levels );
Expand Down

0 comments on commit 6c0669b

Please sign in to comment.