Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Contracts/Forms/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function submissions();
* Get a submission.
*
* @param string $id
* @return Submission
* @return Submission|null
*/
public function submission($id);

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Statamic\Forms\Exporters\ExporterRepository;

/**
* @method static \Statamic\Contracts\Forms\Form find(string $handle)
* @method static \Statamic\Contracts\Forms\Form|null find(string $handle)
* @method static \Statamic\Contracts\Forms\Form findOrFail(string $handle)
* @method static \Illuminate\Support\Collection all()
* @method static int count()
Expand Down
2 changes: 1 addition & 1 deletion src/Facades/FormSubmission.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @method static Collection all()
* @method static Collection whereForm(string $handle)
* @method static Collection whereInForm(array $handles)
* @method static SubmissionContract find($id)
* @method static SubmissionContract|null find($id)
* @method static void save(SubmissionContract $submission)
* @method static void delete(SubmissionContract $submission)
* @method static SubmissionQueryBuilder query()
Expand Down
2 changes: 1 addition & 1 deletion src/Forms/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public function querySubmissions(): SubmissionQueryBuilder
* Get a submission.
*
* @param string $id
* @return Submission
* @return Submission|null
*/
public function submission($id)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Forms/FormRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class FormRepository implements Contract
* Find a form.
*
* @param string $handle
* @return FormContract
* @return FormContract|null
*/
public function find($handle)
{
Expand Down
Loading