Completed
Push — develop ( da4c08...4547cf )
by Zack
08:17
created
future/includes/class-gv-form-gravityforms.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 		$self = new self();
56 56
 		$self->form = $form;
57 57
 
58
-		$self->ID = $self->form['id'];
58
+		$self->ID = $self->form[ 'id' ];
59 59
 
60 60
 		return $self;
61 61
 	}
@@ -98,11 +98,11 @@  discard block
 block discarded – undo
98 98
 
99 99
 			/** The offset and limit */
100 100
 			if ( ! empty( $offset->limit ) ) {
101
-				$paging['page_size'] = $offset->limit;
101
+				$paging[ 'page_size' ] = $offset->limit;
102 102
 			}
103 103
 
104 104
 			if ( ! empty( $offset->offset ) ) {
105
-				$paging['offset'] = $offset->offset;
105
+				$paging[ 'offset' ] = $offset->offset;
106 106
 			}
107 107
 
108 108
 			foreach ( \GFAPI::get_entries( $form->ID, $search_criteria, $sorting, $paging ) as $entry ) {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 * @return bool Whether the offset exists or not.
139 139
 	 */
140 140
 	public function offsetExists( $offset ) {
141
-		return isset( $this->form[$offset] );
141
+		return isset( $this->form[ $offset ] );
142 142
 	}
143 143
 
144 144
 	/**
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 	 * @return mixed The value of the requested form data.
154 154
 	 */
155 155
 	public function offsetGet( $offset ) {
156
-		return $this->form[$offset];
156
+		return $this->form[ $offset ];
157 157
 	}
158 158
 
159 159
 	/**
Please login to merge, or discard this patch.