Skip to content

Commit 2cd0d0e

Browse files
committed
ClassType::setName is not deprecated
1 parent c78c01b commit 2cd0d0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/PhpGenerator/ClassType.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ public function getNamespace()
156156
}
157157

158158

159-
/** @deprecated */
159+
/**
160+
* @param string
161+
* @return self
162+
*/
160163
public function setName($name)
161164
{
162165
$this->name = (string) $name;

0 commit comments

Comments
 (0)