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