dg / bypass-finals

Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
Other
487 stars 30 forks source link

Fix type error on touch #19

Closed phcorp closed 4 years ago

phcorp commented 4 years ago

When using strict mode a type error is thrown: TypeError: touch() expects parameter 2 to be int, null given

This closes #18

phcorp commented 4 years ago

added tests on touch()

dg commented 4 years ago

Thanks