Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Commit

Permalink
Fix usage example: add "\".
Browse files Browse the repository at this point in the history
  • Loading branch information
armandabric committed May 19, 2014
1 parent 470d4c6 commit ce885ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ Usage
-----

```php
Rezzza\TimeTraveler::enable();
Rezzza\TimeTraveler::moveTo('2011-06-10 11:00:00');
\Rezzza\TimeTraveler::enable();
\Rezzza\TimeTraveler::moveTo('2011-06-10 11:00:00');

var_dump(new \DateTime()); // 2011-06-10 11:00:00
var_dump(new \DateTime('+2 hours')); // 2011-06-10 13:00:00
var_dump(time());
var_dump(microtime());
var_dump(microtime(true));

Rezzza\TimeTraveler::comeBack();
\Rezzza\TimeTraveler::comeBack();
```


Expand Down

0 comments on commit ce885ad

Please sign in to comment.