mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-23 12:27:05 +00:00
Code cleanup and documentation improvements.
This commit is contained in:
@@ -34,6 +34,8 @@ use FireflyIII\Rules\IsValidAttachmentModel;
|
||||
class AttachmentRequest extends Request
|
||||
{
|
||||
/**
|
||||
* Authorize logged in users.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize(): bool
|
||||
@@ -43,6 +45,8 @@ class AttachmentRequest extends Request
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all data from the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getAll(): array
|
||||
@@ -57,6 +61,8 @@ class AttachmentRequest extends Request
|
||||
}
|
||||
|
||||
/**
|
||||
* The rules that the incoming request must be matched against.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules(): array
|
||||
|
Reference in New Issue
Block a user