Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 7, 2015
1 parent 5501c46 commit eef9df8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/PhpGenerator/ClassType.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static function from($from)
}


public function __construct($name = NULL, PhpNamespace $namespace = NULL)
public function __construct($name = '', PhpNamespace $namespace = NULL)
{
$this->setName($name);
$this->namespace = $namespace;
Expand Down Expand Up @@ -141,7 +141,7 @@ public function __toString()


/**
* @return PhpNamespace
* @return PhpNamespace|NULL
*/
public function getNamespace()
{
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public function setVisibility($val)


/**
* @return string
* @return string|NULL
*/
public function getVisibility()
{
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/Parameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class Parameter extends Nette\Object
{
/** @var string */
private $name;
private $name = '';

/** @var bool */
private $reference = FALSE;
Expand Down
2 changes: 1 addition & 1 deletion src/PhpGenerator/Property.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class Property extends Nette\Object
{
/** @var string */
private $name;
private $name = '';

/** @var mixed */
public $value;
Expand Down

0 comments on commit eef9df8

Please sign in to comment.