Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit c85d780

Browse files
committed
Fixes #54, lost alias on single check
1 parent 91b9b17 commit c85d780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ZendDiagnostics/Runner/Runner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function run($checkAlias = null)
103103
{
104104
$results = new ResultsCollection();
105105

106-
$checks = $checkAlias ? new ArrayObject(array($this->getCheck($checkAlias))) : $this->getChecks();
106+
$checks = $checkAlias ? new ArrayObject(array($checkAlias => $this->getCheck($checkAlias))) : $this->getChecks();
107107

108108
// Trigger START event
109109
$this->triggerReporters('onStart', $checks, $this->getConfig());

0 commit comments

Comments
 (0)