diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-02-16 19:17:09 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-02-16 19:17:09 +0000 |
| commit | e2d2f0ebbf39d76686e87f17ffd50b0c303c942a (patch) | |
| tree | 4656f856e5e6669c27eb61262b3ff94fe8126455 /app/Date.php | |
| parent | 0f7b1e94b64877dfd834f8e91ba531e9932d5c60 (diff) | |
| download | webtrees-e2d2f0ebbf39d76686e87f17ffd50b0c303c942a.tar.gz webtrees-e2d2f0ebbf39d76686e87f17ffd50b0c303c942a.tar.bz2 webtrees-e2d2f0ebbf39d76686e87f17ffd50b0c303c942a.zip | |
Add visibility to constructors
Diffstat (limited to 'app/Date.php')
| -rw-r--r-- | app/Date.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Date.php b/app/Date.php index f8b8212d5a..cbd3d2b109 100644 --- a/app/Date.php +++ b/app/Date.php @@ -69,7 +69,7 @@ class Date { * * @param string $date A date in GEDCOM format */ - function __construct($date) { + public function __construct($date) { // Extract any explanatory text if (preg_match('/^(.*) ?[(](.*)[)]/', $date, $match)) { $date = $match[1]; |
