mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-26 20:34:48 +01:00
26 lines
597 B
Plaintext
26 lines
597 B
Plaintext
<?php
|
|
|
|
namespace Illuminate\Database\Eloquent;
|
|
/**
|
|
* @template-covariant TModel of \Illuminate\Database\Eloquent\Model
|
|
* @property-read HigherOrderBuilderProxy $orWhere
|
|
*
|
|
* @mixin \Illuminate\Database\Query\Builder
|
|
*/
|
|
class Builder
|
|
{
|
|
/**
|
|
* @param array $attributes
|
|
* @param array $values
|
|
* @return TModel
|
|
*/
|
|
public function firstOrNew(array $attributes, array $values = []) { }
|
|
|
|
/**
|
|
* @param array $attributes
|
|
* @param array $values
|
|
* @return TModel
|
|
*/
|
|
public function firstOrCreate(array $attributes, array $values = []) { }
|
|
}
|