mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-10-17 06:56:06 +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
@@ -12,18 +12,22 @@ class HTMLPurifier_ErrorCollectorEMock extends HTMLPurifier_ErrorCollectorMock
|
||||
private $_expected_context = array();
|
||||
private $_expected_context_at = array();
|
||||
|
||||
public function prepare($context) {
|
||||
public function prepare($context)
|
||||
{
|
||||
$this->_context = $context;
|
||||
}
|
||||
|
||||
public function expectContext($key, $value) {
|
||||
public function expectContext($key, $value)
|
||||
{
|
||||
$this->_expected_context[$key] = $value;
|
||||
}
|
||||
public function expectContextAt($step, $key, $value) {
|
||||
public function expectContextAt($step, $key, $value)
|
||||
{
|
||||
$this->_expected_context_at[$step][$key] = $value;
|
||||
}
|
||||
|
||||
public function send($v1, $v2) {
|
||||
public function send($v1, $v2)
|
||||
{
|
||||
// test for context
|
||||
$context = SimpleTest::getContext();
|
||||
$test = $context->getTest();
|
||||
|
Reference in New Issue
Block a user