Completed
Push — 1.0 ( 4e753f...2ef7ab )
by Nic
9s
created
code/SlideImage.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -78,23 +78,23 @@
 block discarded – undo
78 78
             'PageID',
79 79
         ]);
80 80
 
81
-        if($name = $fields->dataFieldByName('Name')){
81
+        if ($name = $fields->dataFieldByName('Name')) {
82 82
             $name->setDescription('for internal reference only');
83 83
         }
84 84
 
85
-        if($headline = $fields->dataFieldByName('Headline')){
85
+        if ($headline = $fields->dataFieldByName('Headline')) {
86 86
             $headline->setDescription('optional, used in template');
87 87
         }
88 88
 
89
-        if($description = $fields->dataFieldByName('Description')){
89
+        if ($description = $fields->dataFieldByName('Description')) {
90 90
             $description->setDescription('optional, used in template');
91 91
         }
92 92
 
93
-        if($link = $fields->dataFieldByName('PageLinkID')){
93
+        if ($link = $fields->dataFieldByName('PageLinkID')) {
94 94
             $link->setTitle("'Choose a page to link to:'");
95 95
         }
96 96
 
97
-        if($image = $fields->dataFieldByName('Image')){
97
+        if ($image = $fields->dataFieldByName('Image')) {
98 98
             $image->setFolderName('Uploads/SlideImages')
99 99
                 ->setAllowedMaxFileNumber(1)
100 100
                 ->setAllowedFileCategories('image');
Please login to merge, or discard this patch.