@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * @param string $p |
47 | 47 | * @return Response |
48 | 48 | */ |
49 | - public function get(?string $id=null, ?string $p=null): Response |
|
49 | + public function get(? string $id = null, ? string $p = null) : Response |
|
50 | 50 | { |
51 | 51 | $node = $this->fs->getNode($id, $p, 'File'); |
52 | 52 | $document = new OfficeDoc($this->fs->getDatabase(), $node); |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * @param int $conflict |
119 | 119 | * @return Response |
120 | 120 | */ |
121 | - public function put(string $name, string $type, ?string $collection=null, array $attributes=[], int $conflict=0): Response |
|
121 | + public function put(string $name, string $type, ? string $collection = null, array $attributes = [], int $conflict = 0) : Response |
|
122 | 122 | { |
123 | 123 | $parent = $this->fs->getNode($collection, null, 'Collection', false, true); |
124 | 124 | $tpl = new Template($type); |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | public function getContents(string $id, string $access_token): void |
127 | 127 | { |
128 | 128 | $session = Session::getByAccessToken($this->fs, $this->parseId($id), $access_token); |
129 | - $stream = $session->getDocument()->get(); |
|
129 | + $stream = $session->getDocument()->get(); |
|
130 | 130 | |
131 | 131 | while (!feof($stream)) { |
132 | 132 | echo fread($stream, 8192); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |