Homec4science

Fix errors found by PHPStan

Authored by Jakub Vrana <jakub@vrana.cz> on Feb 16 2017, 13:49.

Description

Fix errors found by PHPStan

Test Plan:
Ran phpstan analyze --autoload-file=src/__phutil_library_init__.php -c phpstan.neon -l 1 src/ with phpstan.neon containing:

parameters:
    excludes_analyse:
        - */__tests__/*

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17364

Details

Committed
vrana <autocommitter@example.com>Feb 16 2017, 13:49
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUd37145bd144e: Fix an issue where resolveKill() emits a warning if the future was never started
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <autocommitter@example.com> committed rPHUcfeafaf2636d: Fix errors found by PHPStan (authored by Jakub Vrana <jakub@vrana.cz>).Feb 16 2017, 13:49