Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-static method should not be called statically #530

Open
mukhusin opened this issue Mar 16, 2021 · 1 comment
Open

Non-static method should not be called statically #530

mukhusin opened this issue Mar 16, 2021 · 1 comment

Comments

@mukhusin
Copy link

Non-static method PragmaRX\Tracker\Tracker::pageViewsByCountry() should not be called statically

 use PragmaRX\Tracker\Tracker;
 public function index(){
        $pageViews = Tracker::pageViewsByCountry(60 * 24);
        dd(Tracker::pageViewsByCountry(60 * 24));
    }
@gor3a
Copy link

gor3a commented Sep 24, 2021

use PragmaRX\Tracker\Vendor\Laravel\Facade as Tracker;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants