Skip to content

Commit 7f8928b

Browse files
committed
Fix style
1 parent aabd1a9 commit 7f8928b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Illuminate/Cache/FileStore.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ protected function ensureCacheDirectoryExists($path)
102102
* @param string $path
103103
* @return void
104104
*/
105-
protected function ensureCorrectPermissions($path){
105+
protected function ensureCorrectPermissions($path)
106+
{
106107
if (is_null($this->filePermission)) {
107108
return;
108109
}

tests/Cache/CacheFileStoreTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function testStoreItemProperlySetsPermissions()
9090
$files->shouldReceive('put')->withArgs([__DIR__.'/'.$cache_dir.'/'.$hash, m::any(), m::any()])->andReturnUsing(function ($name, $value) {
9191
return strlen($value);
9292
});
93-
$files->shouldReceive('chmod')->withArgs([__DIR__.'/'.$cache_dir.'/'.$hash])->andReturnValues(["0600", "0644"])->times(3);
93+
$files->shouldReceive('chmod')->withArgs([__DIR__.'/'.$cache_dir.'/'.$hash])->andReturnValues(['0600', '0644'])->times(3);
9494
$files->shouldReceive('chmod')->withArgs([__DIR__.'/'.$cache_dir.'/'.$hash, 0644])->andReturn([true])->once();
9595
$result = $store->put('foo', 'foo', 10);
9696
$this->assertTrue($result);

0 commit comments

Comments
 (0)