Code Duplication    Length = 5-5 lines in 2 locations

src/Request/Plugin/CallableClass.php 1 location

@@ 273-277 (lines=5) @@
270
    public function canProcessRequest()
271
    {
272
        // Check the validity of the class name
273
        if(($this->sRequestedClass) && !$this->validateClass($this->sRequestedClass))
274
        {
275
            $this->sRequestedClass = null;
276
            $this->sRequestedMethod = null;
277
        }
278
        // Check the validity of the method name
279
        if(($this->sRequestedMethod) && !$this->validateMethod($this->sRequestedMethod))
280
        {

src/Request/Plugin/CallableDir.php 1 location

@@ 455-459 (lines=5) @@
452
    public function canProcessRequest()
453
    {
454
        // Check the validity of the class name
455
        if(($this->sRequestedClass) && !$this->validateClass($this->sRequestedClass))
456
        {
457
            $this->sRequestedClass = null;
458
            $this->sRequestedMethod = null;
459
        }
460
        // Check the validity of the method name
461
        if(($this->sRequestedMethod) && !$this->validateMethod($this->sRequestedMethod))
462
        {