Skip to content

Commit

Permalink
Make sanitizeFileName private
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw authored and malberts committed Nov 8, 2021
1 parent b0d4465 commit 68d375f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ComponentFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ protected function getModifiedComponent( DOMElement $description, Component $com
return new $className( $component, $description );
}

public function sanitizeFileName( string $fileName ): string {
private function sanitizeFileName( string $fileName ): string {
return str_replace( [ '\\', '/' ], DIRECTORY_SEPARATOR, $fileName );
}

Expand Down

0 comments on commit 68d375f

Please sign in to comment.