Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-dahir committed Aug 17, 2019
1 parent a383282 commit 1f9f247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"brianium/paratest": "1.*",
"doctrine/collections": "^1.5",
"jakub-onderka/php-parallel-lint": "^1.0",
"jikan-me/jikan": "^2.8",
"jikan-me/jikan-fixtures": "dev-master",
"php-vcr/php-vcr": "~1.3.2",
"php-vcr/phpunit-testlistener-vcr": "^3.0",
Expand Down
3 changes: 2 additions & 1 deletion src/Parser/User/Profile/UserProfileParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ public function getLastOnline(): ?\DateTimeImmutable
{
try {
return new \DateTimeImmutable(
$this->crawler->filterXPath('//span[contains(text(), \'Last Online\')]/following-sibling::span')->text(),
$this->crawler->filterXPath('//span[contains(text(), \'Last Online\')]/following-sibling::span')
->text(),
new \DateTimeZone('UTC')
);
} catch (\Exception $e) {
Expand Down

0 comments on commit 1f9f247

Please sign in to comment.