Skip to content

Commit

Permalink
Replace xp::stringOf() with util.Objects::stringOf()
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Dec 2, 2019
1 parent cf5b00d commit 3ff53d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/php/io/archive/zip/ZipDirEntry.class.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php namespace io\archive\zip;

use util\Date;
use util\Objects;

/**
* Represents a Dir entry in a zip archive
Expand Down Expand Up @@ -119,7 +120,7 @@ public function toString() {
"}",
nameof($this),
$this->name,
\xp::stringOf($this->mod)
Objects::stringOf($this->mod)
);
}
}
5 changes: 3 additions & 2 deletions src/main/php/io/archive/zip/ZipFileEntry.class.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php namespace io\archive\zip;

use util\Date;
use util\Objects;

/**
* Represents a file entry in a zip archive
Expand Down Expand Up @@ -165,8 +166,8 @@ public function toString() {
"}",
nameof($this),
$this->name,
\xp::stringOf($this->mod),
\xp::stringOf($this->compression[0]),
Objects::stringOf($this->mod),
Objects::stringOf($this->compression[0]),
$this->compression[1],
$this->size
);
Expand Down

0 comments on commit 3ff53d9

Please sign in to comment.