mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-06 14:16:32 +02:00
PSR-2 reformatting PHPDoc corrections
With minor corrections. Signed-off-by: Marcus Bointon <marcus@synchromedia.co.uk> Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
committed by
Edward Z. Yang
parent
19eee14899
commit
fac747bdbd
@@ -2,7 +2,8 @@
|
||||
|
||||
// since Mocks can't be called from within test files, we need to do
|
||||
// a little jumping through hoops to generate them
|
||||
function generate_mock_once($name) {
|
||||
function generate_mock_once($name)
|
||||
{
|
||||
$mock_name = $name . 'Mock';
|
||||
if (class_exists($mock_name, false)) return false;
|
||||
Mock::generate($name, $mock_name);
|
||||
|
Reference in New Issue
Block a user