@@ -594,14 +594,14 @@ |
||
| 594 | 594 | { |
| 595 | 595 | $changelist = $this->getSparql()->queryChangeList($clang, $offset, $prop); |
| 596 | 596 | $bydate = array(); |
| 597 | - foreach($changelist as $concept) { |
|
| 597 | + foreach ($changelist as $concept) { |
|
| 598 | 598 | $concept['datestring'] = Punic\Calendar::formatDate($concept['date'], 'medium', $lang); |
| 599 | - $bydate[Punic\Calendar::getMonthName($concept['date'], 'wide', $lang, true) . Punic\Calendar::format($concept['date'], ' y', $lang) ][strtolower($concept['prefLabel'])] = $concept; |
|
| 599 | + $bydate[Punic\Calendar::getMonthName($concept['date'], 'wide', $lang, true) . Punic\Calendar::format($concept['date'], ' y', $lang)][strtolower($concept['prefLabel'])] = $concept; |
|
| 600 | 600 | } |
| 601 | 601 | return $bydate; |
| 602 | 602 | } |
| 603 | 603 | |
| 604 | - public function getTitle($lang=null) { |
|
| 604 | + public function getTitle($lang = null) { |
|
| 605 | 605 | return $this->config->getTitle($lang); |
| 606 | 606 | } |
| 607 | 607 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @param string $property the property to query |
| 31 | 31 | * @param string $lang preferred language for the literal, |
| 32 | 32 | */ |
| 33 | - private function getLiteral($property, $lang=null) |
|
| 33 | + private function getLiteral($property, $lang = null) |
|
| 34 | 34 | { |
| 35 | 35 | if (!isset($lang)) {; |
| 36 | 36 | $lang = $this->getEnvLang(); |