@@ -12,6 +12,9 @@ discard block |
||
| 12 | 12 | */ |
| 13 | 13 | interface CollectableItem |
| 14 | 14 | { |
| 15 | + /** |
|
| 16 | + * @return string |
|
| 17 | + */ |
|
| 15 | 18 | public function getRelativeFilePath(); |
| 16 | 19 | |
| 17 | 20 | /** |
@@ -59,6 +62,7 @@ discard block |
||
| 59 | 62 | * |
| 60 | 63 | * @param array $variables An array of YAML variables to use in evaluating the `$permalink` value |
| 61 | 64 | * @param array $complexVariables Complex variables that will be available to the FrontMatter scope of this document. |
| 65 | + * @return void |
|
| 62 | 66 | */ |
| 63 | 67 | public function evaluateFrontMatter(array $variables = [], array $complexVariables = []); |
| 64 | 68 | } |
@@ -182,11 +182,15 @@ |
||
| 182 | 182 | * |
| 183 | 183 | * @param mixed $mixed Any information returned from the readContents() method. |
| 184 | 184 | */ |
| 185 | - protected function afterReadContents($mixed) {} |
|
| 185 | + protected function afterReadContents($mixed) |
|
| 186 | + { |
|
| 187 | +} |
|
| 186 | 188 | |
| 187 | 189 | /** |
| 188 | 190 | * Functionality that needs to take place before this document is considered "compiled," meaning everything has been |
| 189 | 191 | * processed, configured, and built. |
| 190 | 192 | */ |
| 191 | - protected function beforeCompile() {} |
|
| 193 | + protected function beforeCompile() |
|
| 194 | + { |
|
| 195 | +} |
|
| 192 | 196 | } |
@@ -42,7 +42,8 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function offsetSet($offset, $value) |
| 44 | 44 | { |
| 45 | - if ($offset === null) { |
|
| 45 | + if ($offset === null) |
|
| 46 | + { |
|
| 46 | 47 | return; |
| 47 | 48 | } |
| 48 | 49 | |