Skip to content

Commit

Permalink
Added missing constructor call. (#738)
Browse files Browse the repository at this point in the history
Fixes the correct task name for conditions.
  • Loading branch information
siad007 authored and mrook committed Jul 11, 2017
1 parent 9b90306 commit eb4d889
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions classes/phing/tasks/system/ConditionTask.php
Expand Up @@ -45,6 +45,14 @@ class ConditionTask extends ConditionBase

/** @var string $alternative */
private $alternative;

/**
* Constructor, names this task "condition".
*/
public function __construct()
{
parent::__construct('condition');
}

/**
* The name of the property to set. Required.
Expand Down

0 comments on commit eb4d889

Please sign in to comment.