diff options
| author | Rico Sonntag <mail@ricosonntag.de> | 2018-08-27 20:04:49 +0200 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-08-27 19:04:49 +0100 |
| commit | 8f53f488f13e53e44dc48778e8f51ec9f91352dd (patch) | |
| tree | 7c8de419d3b2381f073453ccf601f85bf25b5177 /app/Datatables.php | |
| parent | 12c79f746ea1903d66aea1fe0412eda6149a5532 (diff) | |
| download | webtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.tar.gz webtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.tar.bz2 webtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.zip | |
Added PHP7 return types to methods according doc block (#1864)
Diffstat (limited to 'app/Datatables.php')
| -rw-r--r-- | app/Datatables.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/Datatables.php b/app/Datatables.php index 1565fc9244..820bb4ff1b 100644 --- a/app/Datatables.php +++ b/app/Datatables.php @@ -36,8 +36,7 @@ class Datatables 25, 100, -1, - ]) - { + ]): array { $length_menu = FunctionsEdit::numericOptions($lengths); $language = [ @@ -79,7 +78,7 @@ class Datatables * * @return string */ - public static function eventTableAttributes() + public static function eventTableAttributes(): string { return Html::attributes([ 'class' => 'table table-bordered table-sm datatables table-event', @@ -96,7 +95,7 @@ class Datatables * * @return string */ - public static function givenNameTableAttributes() + public static function givenNameTableAttributes(): string { return Html::attributes([ 'class' => 'table table-bordered table-sm datatables table-given-name', |
