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

Exception: Illegal offset type in isset or empty #41

Closed
aaronflorey opened this issue Jan 25, 2019 · 1 comment
Closed

Exception: Illegal offset type in isset or empty #41

aaronflorey opened this issue Jan 25, 2019 · 1 comment

Comments

@aaronflorey
Copy link

I'm getting this error when running the ide-helper, and can't for the life of me figure out what's causing it.

I'm getting no debug messages or anything, and it only happens when i use this package.

"awobaz/compoships": "1.1.6",
"laravel/framework": "5.7.21",

    /**
     * @return \Awobaz\Compoships\Database\Eloquent\Relations\HasOne
     */
    public function user_module()
    {
        return $this->hasOne(UserModule::class, ['module_id', 'user_id'], ['module_id', 'user_id']);
    }
@aaronflorey
Copy link
Author

I actually think it's a bug in the ide-generator

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

1 participant