Skip to content

Commit

Permalink
Minor fix, maintaining support for old php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alrik11es committed Aug 24, 2016
1 parent 34abd70 commit 94c9395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ php:
- 5.4
- 5.5
- 5.6
- 6
- 7
- hhvm

before_script:
Expand Down
2 changes: 1 addition & 1 deletion src/Cow.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Cow
{
public static function say($text)
{
$cow = Farm::create(\Cowsayphp\Farm\Cow::class);
$cow = Farm::create('\Cowsayphp\Farm\Cow'); // @todo: Deprecate support for php <=5.5 \Cowsayphp\Farm\Cow::class
return $cow->say($text);
}
}

0 comments on commit 94c9395

Please sign in to comment.