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

fixed for work php version 7 #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixed for work php version 7 #12

wants to merge 1 commit into from

Conversation

vadimbashirof
Copy link

@vadimbashirof vadimbashirof commented Dec 17, 2018

I found a way to use this plugin with php 7.2
If you have the following error:
Fatal error: Cannot use it in src\Base\Object.php on line 14

I took the following steps:

Rename the src\Bas\Object.php file to src\Bas\BaseObject.php
Now in this file src\Bas\BaseObject.php
line 14 'class Object' => 'class BaseObject'
Open src\Bhava\Object\BhavaObject.php
9 line use Jyotish\Base\Object; => use Jyotish\Base\BaseObject;
16 line class BhavaObject extends Object { => class BhavaObject extends BaseObject {
Open src\Graha\Object\GrahaObject.php
10 line use Jyotish\Base\Object; => use Jyotish\Base\BaseObject;
21 line class GrahaObject extends Object => class GrahaObject extends BaseObject
Open src\Rashi\Object\RashiObject.php
19 line class RashiObject extends \Jyotish\Base\Object => class RashiObject extends \Jyotish\Base\BaseObject
Open src\Base\Traits\EnvironmentTrait.php
line 38 * @return \Jyotish\Base\Object => * @return \Jyotish\Base\BaseObject
Start php 7.2

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

Successfully merging this pull request may close these issues.

1 participant