Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
Fix: scrutinizer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Körner committed Sep 26, 2014
1 parent 0cd79c1 commit 926eacc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/FlorianKoerner/ChimpDrill/ChimpDrill.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ class ChimpDrill
);

/**
* @var bool parsing status
* @var string parsed message
*/
protected $parsed = false;
protected $parsed = null;

/**
* @var string message
*/
protected $message = '';
protected $message;

/**
* @var array placeholder
*/
protected $placeholder = array();
protected $placeholder;

/**
* @param string $message Message to parse
Expand Down Expand Up @@ -71,7 +71,7 @@ public function getParsed()
*/
protected function parseMessage()
{
if (false == $this->parsed) {
if ($this->parsed === null) {
// Escape message
$message = $this->escapeValue($this->message);

Expand Down

0 comments on commit 926eacc

Please sign in to comment.