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

Comcast\PhpLegalLicenses\Console\string, string given #1

BWhitten opened this issue Nov 16, 2017 · 1 comment


Copy link

commented Nov 16, 2017

The following error
Error Output: PHP Catchable fatal error: Argument 1 passed to Comcast\PhpLegalLicenses\Console\GenerateCommand::generateDependencyText() must be an instance of Comcast\PhpLegalLicenses\Console\string, string given

Is given when running, this is due to the type hint 'string' in the function definitions of these two functions, PHP doesn't require hints for primative types.

This is using PHP 5.6, prior to 7 only hinting for objects and arrays is used.


This comment has been minimized.

Copy link

commented Nov 16, 2017

Sorry about that Ben. Should be fixed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.