@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | * Factory method to create new check condition |
130 | 130 | * |
131 | 131 | * @param string $name name of check condition |
132 | - * @return \Sokil\FraudDetector\ProcessorInterface |
|
132 | + * @return string |
|
133 | 133 | * @throws \Exception |
134 | 134 | */ |
135 | 135 | private function getProcessorClassName($name) |
@@ -146,6 +146,9 @@ discard block |
||
146 | 146 | throw new \Exception('Class ' . $fullyQualifiedClassName . ' not found'); |
147 | 147 | } |
148 | 148 | |
149 | + /** |
|
150 | + * @param string $processorName |
|
151 | + */ |
|
149 | 152 | public function getProcessor($processorName) |
150 | 153 | { |
151 | 154 | if(isset($this->processorList[$processorName])) { |
@@ -193,6 +196,9 @@ discard block |
||
193 | 196 | throw new \Exception('Class ' . $fullyQualifiedClassName . ' not found'); |
194 | 197 | } |
195 | 198 | |
199 | + /** |
|
200 | + * @param string $stateName |
|
201 | + */ |
|
196 | 202 | private function on($stateName, $callable) |
197 | 203 | { |
198 | 204 | if($this->hasState(self::STATE_UNCHECKED)) { |