@@ -166,7 +166,7 @@ |
||
| 166 | 166 | throw new \InvalidArgumentException("A parameter is empty for [$key][$filepath][$section]"); // @codeCoverageIgnore |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | - if( $section === POST_SECTION) { |
|
| 169 | + if ($section === POST_SECTION) { |
|
| 170 | 170 | $uriDateStringTagList = $this->getPostUriDateStringAndTagListFromIndexKey($key); |
| 171 | 171 | $typeCatUsername = $this->getTypeCategoryUsernameFromFilepath($filepath); |
| 172 | 172 | return $this->createElementClass($uriDateStringTagList[0], $filepath, POST_SECTION, type: $typeCatUsername[0], category: $typeCatUsername[1], username: $typeCatUsername[2], timestamp: $uriDateStringTagList[1], tags: $uriDateStringTagList[2]); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $uri = HOME_INDEX_KEY; |
| 22 | 22 | } |
| 23 | 23 | $result = route($uri, $method); |
| 24 | - if(empty($result)) { |
|
| 24 | + if (empty($result)) { |
|
| 25 | 25 | exit; |
| 26 | 26 | } |
| 27 | 27 | return $result; |