Code cleanup

This commit is contained in:
James Cole
2018-04-02 14:50:17 +02:00
parent 379b104778
commit fa7ab45a40
100 changed files with 440 additions and 517 deletions

View File

@@ -60,10 +60,10 @@ class UpdateRequest implements GithubRequest
if (isset($releaseXml->entry)) {
foreach ($releaseXml->entry as $entry) {
$array = [
'id' => strval($entry->id),
'updated' => strval($entry->updated),
'title' => strval($entry->title),
'content' => strval($entry->content),
'id' => (string)$entry->id,
'updated' => (string)$entry->updated,
'title' => (string)$entry->title,
'content' => (string)$entry->content,
];
$this->releases[] = new Release($array);
}