Skip to content
Snippets Groups Projects
Unverified Commit a838b13f authored by potreb's avatar potreb Committed by Bartek Jaskulski
Browse files

fix: reformat

parent c0613204
No related branches found
No related tags found
2 merge requests!28release: 3.0.0,!19Add strong typing for 3.0 version
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
namespace WPDesk\Forms; namespace WPDesk\Forms;
use Psr\Container\ContainerInterface;
use WPDesk\Persistence\PersistentContainer; use WPDesk\Persistence\PersistentContainer;
/** /**
...@@ -11,7 +12,7 @@ use WPDesk\Persistence\PersistentContainer; ...@@ -11,7 +12,7 @@ use WPDesk\Persistence\PersistentContainer;
*/ */
interface ContainerForm { interface ContainerForm {
/** /**
* @param \Psr\Container\ContainerInterface $data * @param ContainerInterface $data
* *
* @return void * @return void
*/ */
......
...@@ -124,7 +124,7 @@ abstract class BasicField implements Field { ...@@ -124,7 +124,7 @@ abstract class BasicField implements Field {
} }
public function get_possible_values() { public function get_possible_values() {
return isset( $this->meta['possible_values'] ) ? $this->meta['possible_values'] : []; return $this->meta['possible_values'] ?? [];
} }
public function get_id(): string { public function get_id(): string {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment