Revert PHPStan due to temp bug.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-09-05 03:44:44 -05:00
parent 803f1b14d6
commit dcbc08360c
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
3 changed files with 11 additions and 11 deletions

View File

@ -117,7 +117,7 @@
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"php-parallel-lint/php-console-highlighter": "^0.5.0", "php-parallel-lint/php-console-highlighter": "^0.5.0",
"php-parallel-lint/php-parallel-lint": "^1.3", "php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^0.12", "phpstan/phpstan": "0.12.96",
"phpstan/phpstan-doctrine": "^0.12", "phpstan/phpstan-doctrine": "^0.12",
"phpunit/php-timer": "^5.0", "phpunit/php-timer": "^5.0",
"phpunit/phpunit": "^9.2", "phpunit/phpunit": "^9.2",

14
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "cc682bf159b701cd01d1a39f508428ef", "content-hash": "601cce81f6dc67d28ef0902a712fb852",
"packages": [ "packages": [
{ {
"name": "aws/aws-crt-php", "name": "aws/aws-crt-php",
@ -11662,16 +11662,16 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "0.12.98", "version": "0.12.96",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "3bb7cc246c057405dd5e290c3ecc62ab51d57e00" "reference": "a98bdc51318f20fcae8c953d266f81a70254917f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/3bb7cc246c057405dd5e290c3ecc62ab51d57e00", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a98bdc51318f20fcae8c953d266f81a70254917f",
"reference": "3bb7cc246c057405dd5e290c3ecc62ab51d57e00", "reference": "a98bdc51318f20fcae8c953d266f81a70254917f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -11702,7 +11702,7 @@
"description": "PHPStan - PHP Static Analysis Tool", "description": "PHPStan - PHP Static Analysis Tool",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan/issues", "issues": "https://github.com/phpstan/phpstan/issues",
"source": "https://github.com/phpstan/phpstan/tree/0.12.98" "source": "https://github.com/phpstan/phpstan/tree/0.12.96"
}, },
"funding": [ "funding": [
{ {
@ -11722,7 +11722,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-09-02T12:33:01+00:00" "time": "2021-08-21T11:55:13+00:00"
}, },
{ {
"name": "phpstan/phpstan-doctrine", "name": "phpstan/phpstan-doctrine",

View File

@ -114,9 +114,9 @@ class SongHistoryRepository extends Repository
} }
} }
$last_sh->setDeltaPositive($delta_positive); $last_sh->setDeltaPositive((int)$delta_positive);
$last_sh->setDeltaNegative($delta_negative); $last_sh->setDeltaNegative((int)$delta_negative);
$last_sh->setDeltaTotal($delta_total); $last_sh->setDeltaTotal((int)$delta_total);
$last_sh->setUniqueListeners( $last_sh->setUniqueListeners(
$this->listenerRepository->getUniqueListeners( $this->listenerRepository->getUniqueListeners(