[Console] Remove $this in closure
bug #13083 [Console] Remove $this in closure (saro0h)

This PR was merged into the 2.7 branch.

Discussion
----------

[Console] Remove $this in closure

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

Removed the call to the method ``checkMultipleResults`` as in PHP 5.3 it breaks and inlined it as the method is used only once.

Commits
-------

de0fe5d [Console] Remove $this in closure