@@ -44,7 +44,7 @@ |
||
| 44 | 44 | try { |
| 45 | 45 | $this->page = $wiki->newPageGetter()->getFromTitle($title); |
| 46 | 46 | } catch (Throwable $e) { |
| 47 | - throw new Exception('Erreur construct WikiPageAction '. $e->getMessage()); |
|
| 47 | + throw new Exception('Erreur construct WikiPageAction '.$e->getMessage()); |
|
| 48 | 48 | } |
| 49 | 49 | } |
| 50 | 50 | |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | return null; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | - $nbResults = (int)$xml->xpath('//srw:numberOfRecords[1]')[0] ?? 0; |
|
| 77 | + $nbResults = (int) $xml->xpath('//srw:numberOfRecords[1]')[0] ?? 0; |
|
| 78 | 78 | |
| 79 | 79 | if (0 === $nbResults) { |
| 80 | 80 | return null; |