Fix errors found by PHPStan

Authored by vrana on Feb 16 2017, 12:49 PM.

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
vranaFeb 16 2017, 12:49 PM
Pushed
industryFeb 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