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