404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.144.96.170: ~ $
<?php

use function PHPStan\Testing\assertType;

assertType('User', with(new User()));
assertType('bool', with(new User())->save());

assertType('User', with(new User(), function (User $user) {
    return $user;
}));
assertType('User', with(new User(), function (User $user): User {
    return $user;
}));

assertType('User', with(new User(), function ($user) {
    /** @var User $user */
    return $user;
}));
assertType('User', with(new User(), function ($user): User {
    /** @var User $user */
    return $user;
}));

assertType('int', with(new User(), function ($user) {
    assertType('User', $user);

    return 10;
}));
assertType('int', with(new User(), function ($user): int {
    assertType('User', $user);

    return 10;
}));

assertType('mixed', with(new User(), function ($user) {
    return $user;
}));
assertType('User', with(new User(), function ($user): User {
    return $user;
}));

// falls back to default if provided
assertType('int|null', transform(optional(), fn () => 1));
// default as callable
assertType('int|string', transform(optional(), fn () => 1, fn () => 'string'));

// non empty values
assertType('int', transform('filled', fn () => 1));
assertType('int', transform(['filled'], fn () => 1));
assertType('int', transform(new User(), fn () => 1));

// "empty" values
assertType('null', transform(null, fn () => 1));
assertType('null', transform('', fn () => 1));
assertType('null', transform([], fn () => 1));

Filemanager

Name Type Size Permission Actions
Facades Folder 0755
Collection.php File 43.09 KB 0644
Fluent.php File 1.04 KB 0644
Helpers.php File 1.47 KB 0644
LazyCollection.php File 36.31 KB 0644
Timebox.php File 230 B 0644