summaryrefslogtreecommitdiff
path: root/app/Report/ReportParserGenerate.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-12-01 18:07:53 +0000
committerGreg Roach <fisharebest@webtrees.net>2018-12-01 18:56:03 +0000
commit65e02381e632b9777b3346fdd802519b781016a7 (patch)
tree0ee6b6c454bd5e6e06692bfa7c22a290d2dd0869 /app/Report/ReportParserGenerate.php
parente70f282ef978b175c5529f439f3b572c5b8531a2 (diff)
downloadwebtrees-65e02381e632b9777b3346fdd802519b781016a7.tar.gz
webtrees-65e02381e632b9777b3346fdd802519b781016a7.tar.bz2
webtrees-65e02381e632b9777b3346fdd802519b781016a7.zip
PHP 7.1: short-syntax for array destructuring
Diffstat (limited to 'app/Report/ReportParserGenerate.php')
-rw-r--r--app/Report/ReportParserGenerate.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Report/ReportParserGenerate.php b/app/Report/ReportParserGenerate.php
index 5f636f7165..136c35328f 100644
--- a/app/Report/ReportParserGenerate.php
+++ b/app/Report/ReportParserGenerate.php
@@ -701,7 +701,7 @@ class ReportParserGenerate extends ReportParserBase
if ($this->process_gedcoms > 0) {
$this->process_gedcoms--;
} else {
- list($this->gedrec, $this->fact, $this->desc) = array_pop($this->gedrec_stack);
+ [$this->gedrec, $this->fact, $this->desc] = array_pop($this->gedrec_stack);
}
}
@@ -1203,7 +1203,7 @@ class ReportParserGenerate extends ReportParserBase
$this->gedrec = $oldgedrec;
$this->parser = array_pop($this->parser_stack);
}
- list($this->repeats, $this->repeat_bytes) = array_pop($this->repeats_stack);
+ [$this->repeats, $this->repeat_bytes] = array_pop($this->repeats_stack);
}
/**
@@ -1406,7 +1406,7 @@ class ReportParserGenerate extends ReportParserBase
$this->parser = array_pop($this->parser_stack);
$this->gedrec = $oldgedrec;
}
- list($this->repeats, $this->repeat_bytes) = array_pop($this->repeats_stack);
+ [$this->repeats, $this->repeat_bytes] = array_pop($this->repeats_stack);
}
/**
@@ -2303,7 +2303,7 @@ class ReportParserGenerate extends ReportParserBase
$this->parser = array_pop($this->parser_stack);
$this->gedrec = $oldgedrec;
}
- list($this->repeats, $this->repeat_bytes) = array_pop($this->repeats_stack);
+ [$this->repeats, $this->repeat_bytes] = array_pop($this->repeats_stack);
}
/**
@@ -2551,7 +2551,7 @@ class ReportParserGenerate extends ReportParserBase
$this->parser = array_pop($this->parser_stack);
$this->gedrec = $oldgedrec;
}
- list($this->repeats, $this->repeat_bytes) = array_pop($this->repeats_stack);
+ [$this->repeats, $this->repeat_bytes] = array_pop($this->repeats_stack);
}
/**