Commit 24630471 authored by catch's avatar catch

Issue #2778673 by neclimdul: UnitTestCase::getStringTranslationStub()...

Issue #2778673 by neclimdul: UnitTestCase::getStringTranslationStub() incorrectly documents its return type
parent b184ba67
......@@ -200,8 +200,8 @@ protected function getBlockMockWithMachineName($machine_name) {
/**
* Returns a stub translation manager that just returns the passed string.
*
* @return \PHPUnit_Framework_MockObject_MockBuilder
* A MockBuilder of \Drupal\Core\StringTranslation\TranslationInterface
* @return \PHPUnit_Framework_MockObject_MockObject|\Drupal\Core\StringTranslation\TranslationInterface
* A mock translation object.
*/
public function getStringTranslationStub() {
$translation = $this->getMock('Drupal\Core\StringTranslation\TranslationInterface');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment