@@ -47,7 +47,6 @@ |
||
| 47 | 47 | /** |
| 48 | 48 | * Returns a constant |
| 49 | 49 | * |
| 50 | - * @param string|PhpConstant $nameOrConstant constant or name |
|
| 51 | 50 | * @throws \InvalidArgumentException If the constant cannot be found |
| 52 | 51 | * @return PhpConstant |
| 53 | 52 | */ |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | * @return \Closure |
| 166 | 166 | */ |
| 167 | 167 | private function getConstantSortFunc() { |
| 168 | - return $this->constantSortFunc ? : 'strcasecmp'; |
|
| 168 | + return $this->constantSortFunc ?: 'strcasecmp'; |
|
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | /** |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | */ |
| 124 | 124 | public function getDocblockTag() { |
| 125 | 125 | return ParamTag::create() |
| 126 | - ->setType($this->getType() ? : 'mixed') |
|
| 126 | + ->setType($this->getType() ?: 'mixed') |
|
| 127 | 127 | ->setVariable($this->getName()) |
| 128 | 128 | ->setDescription($this->getTypeDescription()); |
| 129 | 129 | } |