Skip to content

Commit

Permalink
fix #19
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyborn committed Jul 26, 2022
1 parent 9932b42 commit 1be2261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventListener/DataContainer/FilesListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ public function adjustPalettes( DataContainer $dc ): void {
* @param string $varValue
* @param Contao\DataContainer $dc
*
* @return string
* @return string|null
*
* @Callback(table="tl_files", target="fields.doNotSanitize.load")
*/
public static function checkParentFolder( $varValue, $dc ): string {
public static function checkParentFolder( $varValue, $dc ): ?string {

$aParentFolders = [];

Expand Down

0 comments on commit 1be2261

Please sign in to comment.