mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
Code cleanup before release.
This commit is contained in:
@@ -55,6 +55,7 @@ class Attachment extends Model
|
||||
* @param string $value
|
||||
*
|
||||
* @return Attachment
|
||||
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
|
||||
*/
|
||||
public static function routeBinder(string $value): Attachment
|
||||
{
|
||||
@@ -96,6 +97,7 @@ class Attachment extends Model
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @return null|string
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function getDescriptionAttribute($value)
|
||||
{
|
||||
@@ -111,6 +113,7 @@ class Attachment extends Model
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @return null|string
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function getFilenameAttribute($value)
|
||||
{
|
||||
@@ -126,6 +129,7 @@ class Attachment extends Model
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @return null|string
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function getMimeAttribute($value)
|
||||
{
|
||||
@@ -141,6 +145,7 @@ class Attachment extends Model
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @return null|string
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function getTitleAttribute($value)
|
||||
{
|
||||
@@ -164,6 +169,8 @@ class Attachment extends Model
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param string $value
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\EncryptException
|
||||
*/
|
||||
public function setDescriptionAttribute(string $value)
|
||||
{
|
||||
@@ -174,6 +181,7 @@ class Attachment extends Model
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param string $value
|
||||
* @throws \Illuminate\Contracts\Encryption\EncryptException
|
||||
*/
|
||||
public function setFilenameAttribute(string $value)
|
||||
{
|
||||
@@ -184,6 +192,7 @@ class Attachment extends Model
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param string $value
|
||||
* @throws \Illuminate\Contracts\Encryption\EncryptException
|
||||
*/
|
||||
public function setMimeAttribute(string $value)
|
||||
{
|
||||
@@ -194,6 +203,7 @@ class Attachment extends Model
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param string $value
|
||||
* @throws \Illuminate\Contracts\Encryption\EncryptException
|
||||
*/
|
||||
public function setTitleAttribute(string $value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user