Code Duplication    Length = 9-9 lines in 2 locations

src/dispatcher/Dispatcher.class.php 1 location

@@ 556-564 (lines=9) @@
553
	 * @author     David Zülke <[email protected]>
554
	 * @since      1.1.0
555
	 */
556
	public function getFilterChain()
557
	{
558
		if($this->filterChain === null) {
559
			$this->filterChain = $this->context->createInstanceFor('filter_chain');
560
			$this->filterChain->setType(FilterChain::TYPE_GLOBAL);
561
		}
562
		
563
		return $this->filterChain;
564
	}
565
	
566
	/**
567
	 * Load filters.

src/dispatcher/ExecutionContainer.class.php 1 location

@@ 472-480 (lines=9) @@
469
	 * @author     David Zülke <[email protected]>
470
	 * @since      1.1.0
471
	 */
472
	public function getFilterChain()
473
	{
474
		if($this->filterChain === null) {
475
			$this->filterChain = $this->context->createInstanceFor('filter_chain');
476
			$this->filterChain->setType(FilterChain::TYPE_CONTROLLER);
477
		}
478
		
479
		return $this->filterChain;
480
	}
481
	
482
	/**
483
	 * Execute the Controller.