• Alexander Schnitzler's avatar
    [TASK] Replace inject methods with @inject · e83fa716
    Alexander Schnitzler authored and Anja Leichsenring's avatar Anja Leichsenring committed
    Currently we are using inject methods like:
    
    /*
     * @param $foo Foo
     */
    public function injectFoo(Foo $foo) {
    	$this->foo = $foo;
    }
    
    This patch removes these methods and introduces
    property annotations:
    
    /**
     * @var Foo
     * @inject
     */
    protected $foo;
    
    Change-Id: I5b6f1aae29f95c31b9dd69629f05d8451fe30261
    Releases: 6.2
    Resolves: #46598
    Reviewed-on: https://review.typo3.org/22006
    Reviewed-by: Alexander Schnitzler
    Tested-by: Alexander Schnitzler
    Reviewed-by: Marc Bastian Heinrichs
    Tested-by: Marc Bastian Heinrichs
    Reviewed-by: Stefan Neufeind
    Reviewed-by: Anja Leichsenring
    Tested-by: Anja Leichsenring
    e83fa716