|
@@ -165,7 +165,7 @@ |
|
|
block discarded – undo |
|
165
|
165
|
if (empty($key) || empty($section)) { |
|
166
|
166
|
throw new \InvalidArgumentException("A parameter is empty for [$key][$filepath][$section]"); // @codeCoverageIgnore |
|
167
|
167
|
} |
|
168
|
|
- if( $section === POST_SECTION) { |
|
|
168
|
+ if ($section === POST_SECTION) { |
|
169
|
169
|
$uriDateStringTagList = $this->getPostUriDateStringAndTagListFromIndexKey($key); |
|
170
|
170
|
$typeCatUsername = $this->getTypeCategoryUsernameFromFilepath($filepath); |
|
171
|
171
|
return $this->createElementClass($uriDateStringTagList[0], $filepath, POST_SECTION, type: $typeCatUsername[0], category: $typeCatUsername[1], username: $typeCatUsername[2], timestamp: $uriDateStringTagList[1], tags: $uriDateStringTagList[2]); |
Please login to merge, or discard this patch.