Skip to content

Commit

Permalink
declared the protected member $id
Browse files Browse the repository at this point in the history
  • Loading branch information
dedalozzo committed Aug 6, 2016
1 parent ef908c0 commit 28f4d65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Converter/Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
abstract class Converter {
protected $text;
protected $id;


/**
Expand All @@ -26,7 +27,7 @@ abstract class Converter {
* @param[in] string $id You can provide an identifier which is used in case an exception is raised during the
* conversion process.
*/
public function __construct($text, $id = "") {
public function __construct($text, $id = '') {
$this->text = $text;
$this->id = (string)$id;
}
Expand Down

0 comments on commit 28f4d65

Please sign in to comment.