Code Duplication    Length = 5-5 lines in 2 locations

src/Request/Plugin/CallableClass.php 1 location

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

src/Request/Plugin/CallableDir.php 1 location

@@ 462-466 (lines=5) @@
459
    public function canProcessRequest()
460
    {
461
        // Check the validity of the class name
462
        if(($this->sRequestedClass) && !$this->validateClass($this->sRequestedClass))
463
        {
464
            $this->sRequestedClass = null;
465
            $this->sRequestedMethod = null;
466
        }
467
        // Check the validity of the method name
468
        if(($this->sRequestedMethod) && !$this->validateMethod($this->sRequestedMethod))
469
        {