]> git.mxchange.org Git - friendica.git/commitdiff
make the DI abstract so no instance is possible
authornupplaPhil <admin@philipp.info>
Sun, 22 Dec 2019 20:25:29 +0000 (21:25 +0100)
committernupplaPhil <admin@philipp.info>
Sun, 29 Dec 2019 19:18:24 +0000 (20:18 +0100)
src/DI.php

index 0ce28f3aef110e1ab7791a9a51b2fec4570bcc19..557e98a8018a2aadb68b3330c5f72ac76d0df647 100644 (file)
@@ -39,7 +39,7 @@ use Psr\Log\LoggerInterface;
  * @method static LoggerInterface workerLogger()
  *
  */
-class DI
+abstract class DI
 {
        const CLASS_MAPPING = [
                'app'          => App::class,