Skip to content

Commit

Permalink
Fix: Add return type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 4, 2020
1 parent d816c04 commit aa46308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Event/Application/values/OS.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@

class OS
{
public function asString()
public function asString(): string
{
return PHP_OS;
}

public function family()
public function family(): string
{
return PHP_OS_FAMILY;
}
Expand Down

0 comments on commit aa46308

Please sign in to comment.