File: Model.php

package info (click to toggle)
php-laravel-serializable-closure 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 400 kB
  • sloc: php: 3,956; makefile: 8
file content (16 lines) | stat: -rw-r--r-- 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

namespace Tests\Fixtures;

class Model
{
    public function make(Model $model): Model
    {
        return new Model();
    }

    public static function staticMake(Model $model): Model
    {
        return new Model();
    }
}