private function buildPathes(string $projectPath): array
    {
        if (substr($projectPath, -1) !== DIRECTORY_SEPARATOR) {
            $projectPath .= DIRECTORY_SEPARATOR;
        }

        $pathes = [];
        foreach ($this->pathTypes as $pathType) {
            $pathes['stubbles.' . $pathType . '.path'] = $projectPath . $pathType;
        }

        return $pathes;
    }
private function buildPathes(string $projectPath): array
    {
        if (substr($projectPath, -1) !== DIRECTORY_SEPARATOR) {
            $projectPath .= DIRECTORY_SEPARATOR;
        }

        $pathes = [];
        foreach ($this->pathTypes as $pathType) {
            $pathes['stubbles.' . $pathType . '.path'] = $projectPath . $pathType;
        }

        return $pathes;
    }
private function buildPathes ( string $ projectPath ) : array { if ( substr ( $ projectPath , - 1 ) !== DIRECTORY_SEPARATOR ) { $ projectPath .= DIRECTORY_SEPARATOR ; } $ pathes = [ ] ; foreach ( $ this -> pathTypes as $ pathType ) { $ pathes [ 'stubbles.' . $ pathType . '.path' ] = $ projectPath . $ pathType ; } return $ pathes ; }
appends directory separator if necessary

@param   string  $projectPath
@return  array
appends directory separator if necessary