Skip to content

Commit 1acceb3

Browse files
committed
Added a IsUndefined() method for all Primitives
1 parent 48ea6b6 commit 1acceb3

File tree

61 files changed

+391
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+391
-1
lines changed

src/Bool/BoolStandard.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,9 @@ public function isEmpty(): bool
126126
{
127127
return false;
128128
}
129+
130+
public function isUndefined(): bool
131+
{
132+
return false;
133+
}
129134
}

src/Bool/FalseStandard.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,9 @@ public function isEmpty(): bool
130130
{
131131
return false;
132132
}
133+
134+
public function isUndefined(): bool
135+
{
136+
return false;
137+
}
133138
}

src/Bool/TrueStandard.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,9 @@ public function isEmpty(): bool
130130
{
131131
return false;
132132
}
133+
134+
public function isUndefined(): bool
135+
{
136+
return false;
137+
}
133138
}

src/DateTime/DateTimeAtom.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,9 @@ public function isEmpty(): bool
110110
{
111111
return false;
112112
}
113+
114+
public function isUndefined(): bool
115+
{
116+
return false;
117+
}
113118
}

src/DateTime/DateTimeRFC3339.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,9 @@ public function isEmpty(): bool
110110
{
111111
return false;
112112
}
113+
114+
public function isUndefined(): bool
115+
{
116+
return false;
117+
}
113118
}

src/DateTime/DateTimeRFC3339Extended.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ public function isEmpty(): bool
111111
{
112112
return false;
113113
}
114+
115+
public function isUndefined(): bool
116+
{
117+
return false;
118+
}
114119
}

src/DateTime/DateTimeW3C.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,9 @@ public function isEmpty(): bool
110110
{
111111
return false;
112112
}
113+
114+
public function isUndefined(): bool
115+
{
116+
return false;
117+
}
113118
}

src/DateTime/Timestamp/TimestampMilliseconds.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,9 @@ public function isEmpty(): bool
145145
{
146146
return false;
147147
}
148+
149+
public function isUndefined(): bool
150+
{
151+
return false;
152+
}
148153
}

src/DateTime/Timestamp/TimestampSeconds.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,9 @@ public function isEmpty(): bool
114114
{
115115
return false;
116116
}
117+
118+
public function isUndefined(): bool
119+
{
120+
return false;
121+
}
117122
}

src/Float/FloatNonNegative.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,9 @@ public function isEmpty(): bool
112112
{
113113
return false;
114114
}
115+
116+
public function isUndefined(): bool
117+
{
118+
return false;
119+
}
115120
}

0 commit comments

Comments
 (0)