-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from markkelnar/phpstan-level-1-fixes
fixes for phpstan level increase strictness
- Loading branch information
Showing
14 changed files
with
147 additions
and
98 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* This stub file fixes return type from appsero client class function. | ||
**/ | ||
|
||
namespace Appsero; | ||
|
||
/** | ||
* Appsero Insights | ||
* | ||
* This is a tracker class to track plugin usage based on if the customer has opted in. | ||
* No personal information is being tracked by this class, only general settings, active plugins, environment details | ||
* and admin email. | ||
*/ | ||
class Insights {} | ||
|
||
/** | ||
* Appsero Client | ||
* | ||
* This class is necessary to set project data | ||
*/ | ||
class Client { | ||
|
||
/** | ||
* Initialize insights class | ||
* | ||
* @return \Appsero\Insights | ||
*/ | ||
public function insights(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.