Skip to content

Commit 0475749

Browse files
committed
Code styling updates
1 parent 12ff70d commit 0475749

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/InterfaxFile.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ class InterfaxFile extends \Interfax\File
66
{
77
/**
88
* File constructor.
9+
*
910
* @param $location
10-
* @param array $params
11+
* @param array $params
12+
*
1113
* @throws \InvalidArgumentException
1214
*/
1315
public function __construct(\Interfax\Client $client, $location, $params = [], \Interfax\GenericFactory $factory = null)

src/InterfaxMessage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ protected static function setChunkSize($file)
122122
];
123123
} elseif (is_array($file)) {
124124
$file['params']['chunk_size'] = $chunk_size;
125+
125126
return $file;
126127
} else {
127128
return $file;

tests/InterfaxMessageTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function it_should_set_the_file_chunk_size_filename()
4545

4646
$message = (new InterfaxMessage)
4747
->user(new TestNotifiable)
48-
->file(__DIR__ . '/resources/test.pdf');
48+
->file(__DIR__.'/resources/test.pdf');
4949

5050
$files = $message->makeFiles();
5151
$delivery = new \Interfax\Outbound\Delivery(new \Interfax\Client, ['faxNumber'=>'0000000000', 'files'=>$files]);
@@ -60,7 +60,7 @@ public function it_should_set_the_file_chunk_size_file_array()
6060

6161
$message = (new InterfaxMessage)
6262
->user(new TestNotifiable)
63-
->files([['location' => __DIR__ . '/resources/test.pdf']]);
63+
->files([['location' => __DIR__.'/resources/test.pdf']]);
6464

6565
$files = $message->makeFiles();
6666
$delivery = new \Interfax\Outbound\Delivery(new \Interfax\Client, ['faxNumber'=>'0000000000', 'files'=>$files]);
@@ -74,7 +74,7 @@ public function it_should_set_the_file_chunk_size_file_object()
7474
$this->increaseChunkSize();
7575
$client = new \Interfax\Client;
7676

77-
$file = new \NotificationChannels\Interfax\InterfaxFile($client, __DIR__ . '/resources/test.pdf');
77+
$file = new \NotificationChannels\Interfax\InterfaxFile($client, __DIR__.'/resources/test.pdf');
7878

7979
$message = (new InterfaxMessage)
8080
->user(new TestNotifiable)

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function addFile(string $filename): void
5656
$this->testFiles[] = $filename;
5757
}
5858

59-
protected function increaseChunkSize(int $size=8000000)
59+
protected function increaseChunkSize(int $size = 8000000)
6060
{
6161
$this->chunkSize = $size;
6262
config(['services.interfax.chunk_size' => $this->chunkSize]);

0 commit comments

Comments
 (0)