HomePhabricator

Fix errors found by PHPStan

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

Provenance
vranaAuthored on Feb 16 2017, 12:49 PM
industryPushed on Feb 16 2017, 12:49 PM
Reviewer
Blessed Reviewers
Differential Revision
D17364: Fix errors found by PHPStan
Parents
rPHUd37145bd144e: Fix an issue where resolveKill() emits a warning if the future was never started
Branches
Unknown
Tags
Unknown
Build Status
Buildable 15654
Build 20669: Run Core Tests