Skip to content

Commit 43dc3ad

Browse files
Update class names.
1 parent 8c693ee commit 43dc3ad

29 files changed

+74
-74
lines changed

src/Utils/GedcomGenerator.php

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44

55
use FamilyTree365\LaravelGedcom\Models\Family;
66
use FamilyTree365\LaravelGedcom\Models\Person;
7-
use PhpGedcom\Gedcom;
8-
use PhpGedcom\Record\Fam;
9-
use PhpGedcom\Record\Fam\Even;
10-
use PhpGedcom\Record\Indi\Even as Personal;
11-
use PhpGedcom\Record\Fam\Slgs;
12-
use PhpGedcom\Record\Head;
13-
use PhpGedcom\Record\Head\Sour;
14-
use PhpGedcom\Record\Indi;
15-
use PhpGedcom\Record\Indi\Fams;
16-
use PhpGedcom\Record\Indi\Name;
17-
use PhpGedcom\Record\NoteRef;
18-
use PhpGedcom\Record\ObjeRef;
19-
use PhpGedcom\Record\SourRef;
20-
use PhpGedcom\Record\Subm;
21-
use PhpGedcom\Writer;
7+
use Gedcom\Gedcom;
8+
use Gedcom\Record\Fam;
9+
use Gedcom\Record\Fam\Even;
10+
use Gedcom\Record\Indi\Even as Personal;
11+
use Gedcom\Record\Fam\Slgs;
12+
use Gedcom\Record\Head;
13+
use Gedcom\Record\Head\Sour;
14+
use Gedcom\Record\Indi;
15+
use Gedcom\Record\Indi\Fams;
16+
use Gedcom\Record\Indi\Name;
17+
use Gedcom\Record\NoteRef;
18+
use Gedcom\Record\ObjeRef;
19+
use Gedcom\Record\SourRef;
20+
use Gedcom\Record\Subm;
21+
use Gedcom\Writer;
2222

2323
class GedcomGenerator
2424
{
@@ -379,17 +379,17 @@ protected function setFam($family_id)
379379
$even = new Even();
380380
$_type = null; // string
381381
$_date = null; // string
382-
$_plac = null; // \PhpGedcom\Record\Indi\Even\Plac
382+
$_plac = null; // \Gedcom\Record\Indi\Even\Plac
383383
$_caus = null; // string
384384
$_age = null; // string
385-
$_addr = null; // \PhpGedcom\Record\Addr
386-
$_phon = []; // \PhpGedcom\Record\Phon
385+
$_addr = null; // \Gedcom\Record\Addr
386+
$_phon = []; // \Gedcom\Record\Phon
387387
$_agnc = null; // string
388-
$_husb = null; // \PhpGedcom\Record\Fam\Even\Husb
389-
$_wife = null; // \PhpGedcom\Record\Fam\Even\Wife
390-
$_obje = []; // \PhpGedcom\Writer\ObjeRef
391-
$_sour = []; // \PhpGedcom\Writer\SourRef
392-
$_note = []; // \PhpGedcom\Writer\NoteRef
388+
$_husb = null; // \Gedcom\Record\Fam\Even\Husb
389+
$_wife = null; // \Gedcom\Record\Fam\Even\Wife
390+
$_obje = []; // \Gedcom\Writer\ObjeRef
391+
$_sour = []; // \Gedcom\Writer\SourRef
392+
$_note = []; // \Gedcom\Writer\NoteRef
393393
$even->setType($_type);
394394
$even->setDate($_date);
395395
$even->setPlac($_plac);

src/Utils/GedcomParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use FamilyTree365\LaravelGedcom\Utils\Importer\Subn;
1515
use Illuminate\Console\OutputStyle;
1616
use Illuminate\Support\Facades\Log;
17-
use PhpGedcom\Parser;
17+
use Gedcom\Parser;
1818
use Symfony\Component\Console\Input\StringInput;
1919
use Symfony\Component\Console\Output\StreamOutput;
2020

src/Utils/GedcomWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use FamilyTree365\LaravelGedcom\Models\Subm;
1313
use FamilyTree365\LaravelGedcom\Models\Subn;
1414
use Illuminate\Console\OutputStyle;
15-
use PhpGedcom\Parser;
15+
use Gedcom\Parser;
1616
use Symfony\Component\Console\Input\StringInput;
1717
use Symfony\Component\Console\Output\StreamOutput;
1818

src/Utils/Importer/Addr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Addr
88
{
99
/**
10-
* PhpGedcom\Record\Refn $noteref
10+
* Gedcom\Record\Refn $noteref
1111
* String $group
1212
* Integer $group_id.
1313
*/

src/Utils/Importer/Caln.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class Caln
66
{
77
/**
8-
* PhpGedcom\Record\Caln $caln
8+
* Gedcom\Record\Caln $caln
99
* String $group
1010
* Integer $group_id.
1111
*/

src/Utils/Importer/Chan.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
class Chan
88
{
99
/**
10-
* PhpGedcom\Record\Chan $chan
10+
* Gedcom\Record\Chan $chan
1111
* String $group
1212
* Integer $group_id.
1313
*/
14-
public static function read($conn, \PhpGedcom\Record\Chan $chan, $group = '', $group_id = 0)
14+
public static function read($conn, \Gedcom\Record\Chan $chan, $group = '', $group_id = 0)
1515
{
1616
$date = $chan->getDate();
1717
$time = $chan->getTime();

src/Utils/Importer/Indi/Asso.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
class Asso
88
{
99
/**
10-
* \PhpGedcom\Record\Indi\Asso $asso
10+
* \Gedcom\Record\Indi\Asso $asso
1111
* String $group
1212
* Integer $group_id.
1313
*/
14-
public static function read($conn, \PhpGedcom\Record\Indi\Asso $asso, $group = '', $group_id = 0)
14+
public static function read($conn, \Gedcom\Record\Indi\Asso $asso, $group = '', $group_id = 0)
1515
{
1616
$indi = $group_id;
1717
$_indi = $asso->getIndi();

src/Utils/Importer/Indi/Lds.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
class Lds
1010
{
1111
/**
12-
* PhpGedcom\Record\Indi\Lds $lds
12+
* Gedcom\Record\Indi\Lds $lds
1313
* String $group
1414
* Integer $group_id.
1515
*/
16-
public static function read($conn, \PhpGedcom\Record\Indi\Lds $lds, $group = '', $group_id = 0, $type = '', $sour_ids = [], $obje_ids = [])
16+
public static function read($conn, \Gedcom\Record\Indi\Lds $lds, $group = '', $group_id = 0, $type = '', $sour_ids = [], $obje_ids = [])
1717
{
1818
$stat = $lds->getStat();
1919
$date = $lds->getDate();

src/Utils/Importer/Indi/Name.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
class Name
88
{
99
/**
10-
* \PhpGedcom\Record\Indi\Asso $asso
10+
* \Gedcom\Record\Indi\Asso $asso
1111
* String $group
1212
* Integer $group_id.
1313
*/
14-
public static function read($conn, \PhpGedcom\Record\Indi\Name $item, $group = '', $group_id = 0)
14+
public static function read($conn, \Gedcom\Record\Indi\Name $item, $group = '', $group_id = 0)
1515
{
1616
$name = $item->getName();
1717
$type = $item->getType();

src/Utils/Importer/Indi/Name/Fone.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
class Fone
88
{
99
/**
10-
* \PhpGedcom\Record\Indi\Asso $asso
10+
* \Gedcom\Record\Indi\Asso $asso
1111
* String $group
1212
* Integer $group_id.
1313
*/
14-
public static function read($conn, \PhpGedcom\Record\Indi\Name\Fone $item, $group = '', $group_id = 0)
14+
public static function read($conn, \Gedcom\Record\Indi\Name\Fone $item, $group = '', $group_id = 0)
1515
{
1616
$type = $item->getType();
1717
$name = $item->getName();

0 commit comments

Comments
 (0)