Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 9 |
Ratio | 100 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
42 | View Code Duplication | public function __construct(Google_Client $client, Google_Service_Drive_DriveFile $googleFile) |
|
43 | { |
||
44 | $this->client = $client; |
||
45 | $this->filename = $googleFile->getName(); |
||
1 ignored issue
–
show
|
|||
46 | $this->pathname = $googleFile->getId(); |
||
47 | $this->fileId = $googleFile->getId(); |
||
48 | $this->size = $googleFile->getSize(); |
||
49 | $this->lastModified = strtotime($googleFile->getCreatedTime()); |
||
50 | } |
||
51 | |||
67 |