Recreate getLiterals method for BC
parent
26598c4a9a
commit
107a736440
|
@ -161,6 +161,14 @@ class Rule
|
||||||
return !$this->disabled;
|
return !$this->disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use public literals member
|
||||||
|
*/
|
||||||
|
public function getLiterals()
|
||||||
|
{
|
||||||
|
return $this->literals;
|
||||||
|
}
|
||||||
|
|
||||||
public function isAssertion()
|
public function isAssertion()
|
||||||
{
|
{
|
||||||
return 1 === count($this->literals);
|
return 1 === count($this->literals);
|
||||||
|
|
Loading…
Reference in New Issue