mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 04:04:13 +02:00
Fix phpdoc typos per processwire/processwire-issues#797
This commit is contained in:
@@ -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()) {
|
||||
|
@@ -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);`
|
||||
|
@@ -286,7 +286,7 @@ class ProcessPageAdd extends Process implements ConfigurableModule, WirePageEdit
|
||||
if(!$templateID) throw new WireException("No template specified");
|
||||
$template = $this->templates->get($templateID);
|
||||
if(!$template) throw new WireException("Unknown template");
|
||||
$parentTemplates = new TemplatesArray();;
|
||||
$parentTemplates = new TemplatesArray();
|
||||
foreach($template->parentTemplates as $templateID) {
|
||||
$t = $this->templates->get((int) $templateID);
|
||||
if($t) $parentTemplates->add($t);
|
||||
|
Reference in New Issue
Block a user