@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | if (!$this->fs->exists($this->themeFolder)) |
| 26 | 26 | { |
| 27 | - throw new FileNotFoundException("The '${themeName}' theme folder could not be found.'"); |
|
| 27 | + throw new FileNotFoundException("The '${themename}' theme folder could not be found.'"); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | if ($this->fs->exists($this->themeFile)) |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | if (!$this->fs->exists($filePath)) |
| 86 | 86 | { |
| 87 | - throw new FileNotFoundException("The following file could not be found: ${filePath}"); |
|
| 87 | + throw new FileNotFoundException("The following file could not be found: ${filepath}"); |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | $this->extension = strtolower($this->fs->getExtension($filePath)); |
@@ -76,6 +76,7 @@ |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * {@inheritdoc} |
| 79 | + * @param string $filePath |
|
| 79 | 80 | */ |
| 80 | 81 | public function createNewItem($filePath) |
| 81 | 82 | { |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @param SplFileInfo|string $filePath |
|
| 138 | + * @param string $filePath |
|
| 139 | 139 | * |
| 140 | 140 | * @return mixed|null |
| 141 | 141 | */ |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | /** |
| 148 | 148 | * Update the contents of a specified file. |
| 149 | 149 | * |
| 150 | - * @param SplFileInfo|string $filePath The relative path of the file |
|
| 150 | + * @param string $filePath The relative path of the file |
|
| 151 | 151 | * |
| 152 | 152 | * @return mixed|null |
| 153 | 153 | */ |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | * @param array|\ArrayAccess[] $array The elements to filter through |
| 90 | 90 | * @param string $key The key value in an associative array or FrontMatter |
| 91 | 91 | * @param string $comparison The actual comparison symbols being used |
| 92 | - * @param mixed $value The value we're searching for |
|
| 92 | + * @param string $value The value we're searching for |
|
| 93 | 93 | * |
| 94 | 94 | * @throws Twig_Error_Syntax |
| 95 | 95 | * |