Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class GEOSWKBReader |
||
12 | { |
||
13 | /** |
||
14 | * Constructor. |
||
15 | */ |
||
16 | public function __construct() {} |
||
17 | |||
18 | /** |
||
19 | * Reads a geometry out of the given WKB. |
||
20 | * |
||
21 | * @since 3.5.0 |
||
22 | * |
||
23 | * @param string $wkb |
||
24 | * |
||
25 | * @return GEOSGeometry |
||
26 | * |
||
27 | * @throws \Exception If the WKB is not valid. |
||
28 | */ |
||
29 | public function read($wkb) {} |
||
|
|||
30 | |||
31 | /** |
||
32 | * Reads a geometry out of the given hex-encoded WKB. |
||
33 | * |
||
34 | * @param string $wkb |
||
35 | * |
||
36 | * @return GEOSGeometry |
||
37 | * |
||
38 | * @throws \Exception If the WKB is not valid. |
||
39 | */ |
||
40 | public function readHEX($wkb) {} |
||
41 | } |
||
42 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.