FML Update 1.4

This commit is contained in:
Steffen Schröder
2014-08-11 23:15:53 +02:00
parent 44cc71c328
commit 300d817409
50 changed files with 123 additions and 112 deletions

View File

@ -34,7 +34,7 @@ class Including implements Renderable {
* @param string $url (optional) Include url
*/
public function __construct($url = null) {
if (!is_null($url)) {
if ($url !== null) {
$this->setUrl($url);
}
}

View File

@ -34,7 +34,7 @@ class Music implements Renderable {
* @param string $data (optional) Media url
*/
public function __construct($data = null) {
if (!is_null($data)) {
if ($data !== null) {
$this->setData($data);
}
}

View File

@ -34,7 +34,7 @@ class SimpleScript implements Renderable {
* @param string $text (optional) Script text
*/
public function __construct($text = null) {
if (!is_null($text)) {
if ($text !== null) {
$this->setText($text);
}
}