Completed
Branch FET-10996-context-dto (2f1413)
by
unknown
138:48 queued 127:06
created
core/domain/entities/Context.php 1 patch
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -18,64 +18,64 @@
 block discarded – undo
18 18
 class Context
19 19
 {
20 20
 
21
-    /**
22
-     * @var string $slug
23
-     */
24
-    private $slug;
25
-
26
-    /**
27
-     * @var string $description
28
-     */
29
-    private $description;
30
-
31
-
32
-    /**
33
-     * Context constructor.
34
-     *
35
-     * @param string $slug
36
-     * @param string $description
37
-     */
38
-    public function __construct($slug, $description)
39
-    {
40
-        $this->setSlug($slug);
41
-        $this->setDescription($description);
42
-    }
43
-
44
-
45
-    /**
46
-     * @return string
47
-     */
48
-    public function slug()
49
-    {
50
-        return $this->slug;
51
-    }
52
-
53
-
54
-    /**
55
-     * @param string $slug
56
-     */
57
-    private function setSlug($slug)
58
-    {
59
-        $this->slug = sanitize_key($slug);
60
-    }
61
-
62
-
63
-    /**
64
-     * @return string
65
-     */
66
-    public function description()
67
-    {
68
-        return $this->description;
69
-    }
70
-
71
-
72
-    /**
73
-     * @param string $description
74
-     */
75
-    private function setDescription($description)
76
-    {
77
-        $this->description = sanitize_text_field($description);
78
-    }
21
+	/**
22
+	 * @var string $slug
23
+	 */
24
+	private $slug;
25
+
26
+	/**
27
+	 * @var string $description
28
+	 */
29
+	private $description;
30
+
31
+
32
+	/**
33
+	 * Context constructor.
34
+	 *
35
+	 * @param string $slug
36
+	 * @param string $description
37
+	 */
38
+	public function __construct($slug, $description)
39
+	{
40
+		$this->setSlug($slug);
41
+		$this->setDescription($description);
42
+	}
43
+
44
+
45
+	/**
46
+	 * @return string
47
+	 */
48
+	public function slug()
49
+	{
50
+		return $this->slug;
51
+	}
52
+
53
+
54
+	/**
55
+	 * @param string $slug
56
+	 */
57
+	private function setSlug($slug)
58
+	{
59
+		$this->slug = sanitize_key($slug);
60
+	}
61
+
62
+
63
+	/**
64
+	 * @return string
65
+	 */
66
+	public function description()
67
+	{
68
+		return $this->description;
69
+	}
70
+
71
+
72
+	/**
73
+	 * @param string $description
74
+	 */
75
+	private function setDescription($description)
76
+	{
77
+		$this->description = sanitize_text_field($description);
78
+	}
79 79
 
80 80
 }
81 81
 // Location: Context.php
Please login to merge, or discard this patch.