Aggiornato Composer

This commit is contained in:
Paolo A
2024-05-17 12:24:19 +00:00
parent 4ac62108b5
commit ec201d75b2
2238 changed files with 38684 additions and 59785 deletions

View File

@@ -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';
}
}

View File

@@ -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';
}
}