Skip to content
Merged
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
1 change: 0 additions & 1 deletion src/Assets/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,6 @@ public function contents()
/**
* Get the blueprint.
*
* @param string|null $blueprint
* @return \Statamic\Fields\Blueprint
*/
public function blueprint()
Expand Down
2 changes: 1 addition & 1 deletion src/Assets/AssetContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ public function sourcePreset($preset = null)
/**
* The specific glide presets to be used when warming glide image cache on upload.
*
* @param array|null $presets
* @param array|null $preset
* @return array|null|$this
*/
public function warmPresets($preset = null)
Expand Down
2 changes: 1 addition & 1 deletion src/Assets/AssetFolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function delete()
/**
* Rename the folder.
*
* @param string $filename
* @param string $name
* @return AssetFolder
*
* @throws \Exception
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/File/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function getRememberToken()
/**
* Set the token value for the "remember me" session.
*
* @param string $value
* @param string $token
* @return void
*/
public function setRememberToken($token)
Expand Down
1 change: 0 additions & 1 deletion src/CP/Navigation/NavBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class NavBuilder
* Instantiate nav builder.
*
* @param array $items
* @param bool $withHidden
*/
public function __construct($items)
{
Expand Down
2 changes: 0 additions & 2 deletions src/Console/Commands/MakeWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ public function handle()

/**
* Generate the widget view file.
*
* @param string $addon
*/
protected function generateWidgetView()
{
Expand Down
1 change: 0 additions & 1 deletion src/Console/Processes/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ public function hasErrorOutput()
/**
* Run callback without logging errors.
*
* @param Closure $callable
* @return mixed
*/
public function withoutLoggingErrors(Closure $callback)
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Forms/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface Form extends Arrayable
/**
* Get or set the handle.
*
* @param string|null $name
* @param string|null $handle
* @return string
*/
public function handle($handle = null);
Expand Down
3 changes: 1 addition & 2 deletions src/Contracts/Forms/Submission.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function data($data = null);
/**
* Get a value of a field.
*
* @param string $key
* @param string $field
* @return mixed
*/
public function get($field);
Expand All @@ -71,7 +71,6 @@ public function set($field, $value);
/**
* Delete submission.
*
* @param string $key
* @return mixed
*/
public function delete();
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/View/Antlers/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function valueWithNoparse($text);
* array or object.
*
* @param string $key Dot-notated key to find
* @param array|object $data Array or object to search
* @param array|object $context Array or object to search
* @param mixed $default Default value to use if not found
* @return mixed
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Controllers/CP/Updater/UpdateProductController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class UpdateProductController extends CpController
/**
* Show product updates overview.
*
* @param string $slug
* @param string $marketplaceProductSlug
*/
public function show($marketplaceProductSlug)
{
Expand Down Expand Up @@ -65,7 +65,7 @@ public function show($marketplaceProductSlug)
/**
* Product changelog.
*
* @param string $slug
* @param string $marketplaceProductSlug
*/
public function changelog(Request $request, $marketplaceProductSlug)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/GlideController.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function generateByUrl($url)
/**
* Generate a manipulated image by an asset reference.
*
* @param string $ref
* @param string $encoded
* @return mixed
*
* @throws \Exception
Expand Down
1 change: 0 additions & 1 deletion src/Imaging/GlideUrlBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public function __construct(array $options = [])
*
* @param \Statamic\Contracts\Assets\Asset|string $item
* @param array $params
* @param string|null $filename
* @return string
*
* @throws \Exception
Expand Down
6 changes: 3 additions & 3 deletions src/Modifiers/CoreModifiers.php
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,9 @@ public function joinplode($value, $params)
/**
* Check if an item exists in an array using "dot" notation.
*
* @param $value
* @param array $haystack
* @param array $params
* @param array $context
* @return bool
*/
public function inArray($haystack, $params, $context)
Expand Down Expand Up @@ -1710,7 +1712,6 @@ public function merge($value, $params, $context)
/**
* Generate an md5 hash of a value.
*
* @param $params
* @return string
*/
public function md5($value)
Expand Down Expand Up @@ -2902,7 +2903,6 @@ public function truncate($value, $params)
* Converts a Carbon instance to a timestamp.
*
* @param Carbon $value
* @param array $params
* @return int
*/
public function timestamp($value)
Expand Down
2 changes: 1 addition & 1 deletion src/StaticCaching/Cachers/AbstractCacher.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public function refreshUrls($urls)
/**
* Refresh an individual URL.
*
* @param string $path
* @param string $url
* @param string|null $domain
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Support/Arr.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public static function sortByArray(array $array, array $order)
/**
* Get rid of null values. (Empty arrays, literal null values, and empty strings).
*
* @param array $array
* @param array $data
* @return array
*/
public static function removeNullValues($data)
Expand Down
Loading