minor #16162 [Translation] Fix tests compat with 2.8 (nicolas-grekas)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[Translation] Fix tests compat with 2.8

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

2da72cb [Translation] Fix tests compat with 2.8
This commit is contained in:
Nicolas Grekas 2015-10-07 13:54:49 +02:00
commit dc4a7dfc68
1 changed files with 4 additions and 0 deletions

View File

@ -288,6 +288,10 @@ class StaleResource implements SelfCheckingResourceInterface
return false;
}
public function getResource()
{
}
public function __toString()
{
return '';