| Conditions | 4 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function __construct($value, $name = null) |
||
| 39 | { |
||
| 40 | if (is_scalar($value) || is_array($value) || is_null($value)) { |
||
| 41 | $this->type = gettype($value); |
||
| 42 | $this->scalar = true; |
||
| 43 | } else { |
||
| 44 | $this->type = ClassUtils::getRealClass($value); |
||
| 45 | } |
||
| 46 | |||
| 47 | $this->name = $name; |
||
| 48 | $this->value = $value; |
||
| 49 | } |
||
| 50 | |||
| 82 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.