| 1 | <?php |
||
| 9 | class Client extends TarantoolClient |
||
| 10 | { |
||
| 11 | private $logging = false; |
||
| 12 | private $log = []; |
||
| 13 | |||
| 14 | 64 | public function connect() |
|
| 21 | 64 | ||
| 22 | public function sendRequest(Request $request) |
||
| 29 | 64 | ||
| 30 | private function log($start, $class, $request = [], $response = []) |
||
| 36 | 64 | ||
| 37 | 64 | public function getTimeSummary() |
|
| 45 | |||
| 46 | 4 | public function setLogging($logging) |
|
| 50 | |||
| 51 | public function getLog() |
||
| 55 | |||
| 56 | } |
||
| 57 |
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.