8000 laravel 5.4 update · Issue #5 · fadion/Fixerio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
laravel 5.4 update #5
Closed
Closed
@hairmenu

Description

@hairmenu

in order to be 5.4 compatible you must rewrite the register function in ExchangeServiceProvider as this


public function register()
{

// $this->app['exchange'] = $this->app->singleton(function($app) {
// return new Exchange;
// });

    $this->app->singleton('exchange', function ($app) {
         return new Exchange;
    });
}

my 2 cents

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0