Don't call method_exists() with non-objects.#36938
Merged
nicolas-grekas merged 1 commit intosymfony:5.1symfony/symfony:5.1from May 24, 2020
derrabus:bugfix/strict-method-existsderrabus/symfony:bugfix/strict-method-existsCopy head branch name to clipboard