File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 */
99class CsvImport_IndexController extends Omeka_Controller_AbstractActionController
1010{
11+ public $ session ;
12+
1113 protected $ _browseRecordsPerPage = 10 ;
1214 protected $ _pluginConfig = array ();
1315
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ public function getColumnDelimiter()
5050 *
5151 * @throws CsvImport_DuplicateColumnException
5252 */
53+ #[\ReturnTypeWillChange]
5354 public function rewind ()
5455 {
5556 if ($ this ->_handle ) {
@@ -77,6 +78,7 @@ public function rewind()
7778 *
7879 * @return mixed current element
7980 */
81+ #[\ReturnTypeWillChange]
8082 public function current ()
8183 {
8284 return $ this ->_currentRow ;
@@ -88,6 +90,7 @@ public function current()
8890 *
8991 * @return scalar
9092 */
93+ #[\ReturnTypeWillChange]
9194 public function key ()
9295 {
9396 return $ this ->_currentRowNumber ;
@@ -99,6 +102,7 @@ public function key()
99102 *
100103 * @throws Exception
101104 */
105+ #[\ReturnTypeWillChange]
102106 public function next ()
103107 {
104108 $ this ->_moveNext ();
@@ -109,6 +113,7 @@ public function next()
109113 *
110114 * @param int The offset
111115 */
116+ #[\ReturnTypeWillChange]
112117 public function seek ($ index )
113118 {
114119 if (!$ this ->_colNames ) {
@@ -149,6 +154,7 @@ protected function _moveNext()
149154 *
150155 * @return boolean
151156 */
157+ #[\ReturnTypeWillChange]
152158 public function valid ()
153159 {
154160 if (!file_exists ($ this ->_filePath )) {
You can’t perform that action at this time.
0 commit comments