Skip to content

Commit

Permalink
Update play.php
Browse files Browse the repository at this point in the history
  • Loading branch information
esokullu authored Aug 13, 2017
1 parent 6ce2bac commit 88d411f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions play.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require "vendor/autoload.php";

use Pho\Kernel\Kernel;
use PhoNetworksAutogenerated\Graph;
use PhoNetworksAutogenerated\User;

$dotenv = new Dotenv\Dotenv(__DIR__);
Expand All @@ -15,7 +14,7 @@
"storage" => getenv("STORAGE_URI"),
),
"default_objects" => array(
"graph" => Graph::class,
"graph" => class_exists(\PhoNetworksAutogenerated\Twitter::class) ? \PhoNetworksAutogenerated\Twitter::class : ( class_exists(\PhoNetworksAutogenerated\Facebook::class) ? \PhoNetworksAutogenerated\Facebook::class : \PhoNetworksAutogenerated\Graph::class ),
"founder" => User::class,
)
);
Expand Down

0 comments on commit 88d411f

Please sign in to comment.