Conditions | 4 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 4 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | 210 | public function dbTypecast($value) |
|
36 | { |
||
37 | 210 | if ($value instanceof ExpressionInterface) { |
|
38 | 24 | return $value; |
|
39 | } |
||
40 | |||
41 | 207 | if (!$this->disableJsonSupport && $this->dbType === Schema::TYPE_JSON) { |
|
|
|||
42 | 1 | return new JsonExpression($value, $this->type); |
|
43 | } |
||
44 | |||
45 | 206 | return $this->typecast($value); |
|
46 | } |
||
47 | |||
64 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.