Fix errors found by PHPStan
ClosedPublic

Authored by vrana on Thu, Feb 16, 1:23 PM.

Details

Test Plan

Ran phpstan analyze -a autoload.php arcanist/src with autoload.php containing:

<?php
require_once 'libphutil/src/__phutil_library_init__.php';
require_once 'arcanist/src/__phutil_library_init__.php';

Diff Detail

Repository
rARC Arcanist
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vrana created this revision.Thu, Feb 16, 1:23 PM
vrana updated this revision to Diff 41762.Thu, Feb 16, 1:26 PM

Remove an extra space.

vrana added a comment.Thu, Feb 16, 1:32 PM

The test error seems to be caused by a different version of JSHint (I have 2.3.0).

epriestley accepted this revision.Thu, Feb 16, 1:43 PM
This revision is now accepted and ready to land.Thu, Feb 16, 1:43 PM
This revision was automatically updated to reflect the committed changes.