Passed
Push — master ( 5e6b25...984a75 )
by Swen
03:28
created

GEOSWKBReader::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 0
c 1
b 0
f 1
dl 0
loc 1
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * GEOSWKBReader class stub.
5
 *
6
 * These stubs are required for IDEs to provide autocompletion and static code analysis during development.
7
 * They are not required for production.
8
 *
9
 * @see https://github.com/libgeos/libgeos/blob/svn-trunk/php/geos.c
10
 */
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) {}
0 ignored issues
show
Unused Code introduced by
The parameter $wkb is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

29
    public function read(/** @scrutinizer ignore-unused */ $wkb) {}

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
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) {}
0 ignored issues
show
Unused Code introduced by
The parameter $wkb is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

40
    public function readHEX(/** @scrutinizer ignore-unused */ $wkb) {}

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
41
}
42