1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 11:44:42 +02:00
This commit is contained in:
Ryan Cramer
2019-04-02 11:29:18 -04:00
parent dd183c0571
commit 8cdb9886e7
3 changed files with 3 additions and 3 deletions

View File

@@ -1555,7 +1555,7 @@ class Pageimage extends Pagefile {
* @param array $options See options for getVariations() method to limit what variations are removed, plus these:
* - `dryRun` (bool): Do not remove now and instead only return the filenames of variations that would be deleted (default=false).
* - `getFiles` (bool): Return deleted filenames? Also assumed if the test option is used (default=false).
* @return $this|array Returns $this by default, or array of deleted filenames if the `returnFiles` option is specified
* @return $this|array Returns $this by default, or array of deleted filenames if the `getFiles` option is specified
*
*/
public function removeVariations(array $options = array()) {

View File

@@ -1619,7 +1619,7 @@ abstract class Wire implements WireTranslatable, WireFuelable, WireTrackable {
* `$wire = $this->wire();`
*
* - Creating new API variables:
* `$this->wire('widgets', $widgets');`
* `$this->wire('widgets', $widgets);`
*
* - Injection of dependencies to Wire derived objects:
* `$this->wire($widgets);`