Aggiornato Composer
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
|
||||
namespace PhpParser\Node\Name;
|
||||
|
||||
class FullyQualified extends \PhpParser\Node\Name
|
||||
{
|
||||
class FullyQualified extends \PhpParser\Node\Name {
|
||||
/**
|
||||
* Checks whether the name is unqualified. (E.g. Name)
|
||||
*
|
||||
* @return bool Whether the name is unqualified
|
||||
*/
|
||||
public function isUnqualified() : bool {
|
||||
public function isUnqualified(): bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -18,7 +17,7 @@ class FullyQualified extends \PhpParser\Node\Name
|
||||
*
|
||||
* @return bool Whether the name is qualified
|
||||
*/
|
||||
public function isQualified() : bool {
|
||||
public function isQualified(): bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -27,7 +26,7 @@ class FullyQualified extends \PhpParser\Node\Name
|
||||
*
|
||||
* @return bool Whether the name is fully qualified
|
||||
*/
|
||||
public function isFullyQualified() : bool {
|
||||
public function isFullyQualified(): bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -36,15 +35,15 @@ class FullyQualified extends \PhpParser\Node\Name
|
||||
*
|
||||
* @return bool Whether the name is relative
|
||||
*/
|
||||
public function isRelative() : bool {
|
||||
public function isRelative(): bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
public function toCodeString() : string {
|
||||
public function toCodeString(): string {
|
||||
return '\\' . $this->toString();
|
||||
}
|
||||
|
||||
public function getType() : string {
|
||||
|
||||
public function getType(): string {
|
||||
return 'Name_FullyQualified';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,14 +2,13 @@
|
||||
|
||||
namespace PhpParser\Node\Name;
|
||||
|
||||
class Relative extends \PhpParser\Node\Name
|
||||
{
|
||||
class Relative extends \PhpParser\Node\Name {
|
||||
/**
|
||||
* Checks whether the name is unqualified. (E.g. Name)
|
||||
*
|
||||
* @return bool Whether the name is unqualified
|
||||
*/
|
||||
public function isUnqualified() : bool {
|
||||
public function isUnqualified(): bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -18,7 +17,7 @@ class Relative extends \PhpParser\Node\Name
|
||||
*
|
||||
* @return bool Whether the name is qualified
|
||||
*/
|
||||
public function isQualified() : bool {
|
||||
public function isQualified(): bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -27,7 +26,7 @@ class Relative extends \PhpParser\Node\Name
|
||||
*
|
||||
* @return bool Whether the name is fully qualified
|
||||
*/
|
||||
public function isFullyQualified() : bool {
|
||||
public function isFullyQualified(): bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -36,15 +35,15 @@ class Relative extends \PhpParser\Node\Name
|
||||
*
|
||||
* @return bool Whether the name is relative
|
||||
*/
|
||||
public function isRelative() : bool {
|
||||
public function isRelative(): bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function toCodeString() : string {
|
||||
public function toCodeString(): string {
|
||||
return 'namespace\\' . $this->toString();
|
||||
}
|
||||
|
||||
public function getType() : string {
|
||||
|
||||
public function getType(): string {
|
||||
return 'Name_Relative';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user