mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Removing assignments by reference in DebuggerTest
This commit is contained in:
parent
e71c827420
commit
c8399a8428
1 changed files with 4 additions and 4 deletions
|
@ -314,16 +314,16 @@ class DebuggerTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
function testGetInstance() {
|
||||
$result =& Debugger::getInstance();
|
||||
$result = Debugger::getInstance();
|
||||
$this->assertIsA($result, 'Debugger');
|
||||
|
||||
$result =& Debugger::getInstance('DebuggerTestCaseDebugger');
|
||||
$result = Debugger::getInstance('DebuggerTestCaseDebugger');
|
||||
$this->assertIsA($result, 'DebuggerTestCaseDebugger');
|
||||
|
||||
$result =& Debugger::getInstance();
|
||||
$result = Debugger::getInstance();
|
||||
$this->assertIsA($result, 'DebuggerTestCaseDebugger');
|
||||
|
||||
$result =& Debugger::getInstance('Debugger');
|
||||
$result = Debugger::getInstance('Debugger');
|
||||
$this->assertIsA($result, 'Debugger');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue