src/Helpers/PermissionsChecker.php
public function check(array $folders)
    {
        foreach($folders as $folder => $permission)
        {
            if(!($this->getPermission($folder) >= $permission))
            {
                $this->addFileAndSetErrors($folder, $permission, false);
            }
            else {
                $this->addFile($folder, $permission, true);
            }
        }

        return $this->results;
    }
public function check(array $folders)
    {
        foreach($folders as $folder => $permission)
        {
            if(!($this->getPermission($folder) >= $permission))
            {
                $this->addFileAndSetErrors($folder, $permission, false);
            }
            else {
                $this->addFile($folder, $permission, true);
            }
        }

        return $this->results;
    }
public function check ( array $ folders ) { foreach ( $ folders as $ folder => $ permission ) { if ( ! ( $ this -> getPermission ( $ folder ) >= $ permission ) ) { $ this -> addFileAndSetErrors ( $ folder , $ permission , false ) ; } else { $ this -> addFile ( $ folder , $ permission , true ) ; } } return $ this -> results ; }
Check for the folders permissions.

@param array $folders
@return array
Check for the folders permissions .