Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | protected function write(File $file, ResultSet $procedures) |
||
43 | { |
||
44 | $file->fwrite('DELIMITER ;;' . PHP_EOL . PHP_EOL); |
||
45 | |||
46 | $platform = $this->getPlatform(); |
||
47 | foreach ($procedures as $procedure) { |
||
48 | $identifier = $platform->quoteIdentifier($procedure['Name']); |
||
49 | $create = $this->showCreate($identifier)->current(); |
||
|
|||
50 | |||
51 | $file->fwrite($this->createQuery($identifier, $create) . PHP_EOL . PHP_EOL); |
||
52 | } |
||
53 | |||
54 | $file->fwrite('DELIMITER ;' . PHP_EOL . PHP_EOL); |
||
55 | return $this; |
||
56 | } |
||
57 | } |
||
58 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.