Commit 4e8394fd authored by Guy Thouret's avatar Guy Thouret
Browse files

(refactor) Remove registrations from Boost Di Provider that aren't actually used anywhere - #1107

parent dbf0eb01
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -28,18 +28,10 @@ class BoostProvider extends Di\Provider
            return new Network\Iterator();
        }, ['useFactory' => false]);

        $this->di->bind('Boost\Network\Metrics', function ($di) {
            return new Network\Metrics();
        }, ['useFactory' => false]);

        $this->di->bind('Boost\Network\Review', function ($di) {
            return new Network\Review();
        }, ['useFactory' => false]);

        $this->di->bind('Boost\Peer', function ($di) {
            return new Peer();
        }, ['useFactory' => true]);

        $this->di->bind('Boost\Peer\Review', function ($di) {
            return new Peer\Review();
        }, ['useFactory' => false]);